<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Topics tagged with user-api]]></title><description><![CDATA[A list of topics that have been tagged with user-api]]></description><link>https://fusionauth.io/community/forum/tags/user-api</link><generator>RSS for Node</generator><lastBuildDate>Thu, 15 Oct 2026 07:36:54 GMT</lastBuildDate><atom:link href="https://fusionauth.io/community/forum/tags/user-api.rss" rel="self" type="application/rss+xml"/><pubDate>Invalid Date</pubDate><ttl>60</ttl><item><title><![CDATA[Invalid JSON  error when trying to retrieve users using user API]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://fusionauth.io/community/forum/uid/20">@dan</a> Oops! thank you so much Dan, it worked as a charm. I was fooled into leaving this header in because I tried the exact same request setup using one of these free api endpoints instead of fusionauth api and it worked with the content-type included. Thanks again</p>
]]></description><link>https://fusionauth.io/community/forum/topic/2120/invalid-json-error-when-trying-to-retrieve-users-using-user-api</link><guid isPermaLink="true">https://fusionauth.io/community/forum/topic/2120/invalid-json-error-when-trying-to-retrieve-users-using-user-api</guid><dc:creator><![CDATA[munkith.abid]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[User expiration]]></title><description><![CDATA[<p dir="auto">It means the user won't be able to login.</p>
]]></description><link>https://fusionauth.io/community/forum/topic/394/user-expiration</link><guid isPermaLink="true">https://fusionauth.io/community/forum/topic/394/user-expiration</guid><dc:creator><![CDATA[dan]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Updating a user&#x27;s password and salt]]></title><description><![CDATA[<p dir="auto">If you’re looking to update the password, you can use the Update User API, or the Change Password API.</p>
<p dir="auto">Neither of these APIs accept a hashed password and salt however, it accepts a plain text password that it will in turn salt, hash and then persist.</p>
<p dir="auto">Check out both these APIs here: <a href="https://fusionauth.io/docs/v1/tech/apis/users" rel="nofollow ugc">https://fusionauth.io/docs/v1/tech/apis/users</a></p>
]]></description><link>https://fusionauth.io/community/forum/topic/365/updating-a-user-s-password-and-salt</link><guid isPermaLink="true">https://fusionauth.io/community/forum/topic/365/updating-a-user-s-password-and-salt</guid><dc:creator><![CDATA[dan]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[I want to delete all the users created before a certain time]]></title><description><![CDATA[<p dir="auto">First, make sure you are using the elasticsearch search engine. You can't run this kind of query on the database search engine.</p>
<p dir="auto">Then, you want to use a range query: <a href="https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-range-query.html" rel="nofollow ugc">https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-range-query.html</a></p>
<p dir="auto">You want to build your query string. This is a query string that gives you all the users between the two insertInstants on the user object (inclusive):</p>
 {
 	"range": {
 		"insertInstant": {
 			"gte": 1592231314000,
 			"lte": 1592231315735
 		}
 	}
 }

<p dir="auto">Omit the gte key if you only want users before a certain time.</p>
<p dir="auto">Next is to turn it into an API call against the user search API, which means escaping the query's json and turning it into a JSON object suitable for FusionAuth to parse:</p>
curl -XPOST -H 'Content-type: application/json' -H "Authorization: $API_KEY" 'https://HOSTNAME/api/user/search?' -d ' { "search" : { "query" :  "{\"range\" : { \"insertInstant\" : { \"gte\" : 1592231314000, \"lte\" : 1592231315735}} }"}}'

<p dir="auto">Finally, after testing to make sure you're getting the users back you want, you can run the bulk delete API, as documented here: <a href="https://fusionauth.io/docs/v1/tech/apis/users#bulk-delete-users" rel="nofollow ugc">https://fusionauth.io/docs/v1/tech/apis/users#bulk-delete-users</a></p>
<p dir="auto">Tested with Elasticsearch 7.</p>
]]></description><link>https://fusionauth.io/community/forum/topic/307/i-want-to-delete-all-the-users-created-before-a-certain-time</link><guid isPermaLink="true">https://fusionauth.io/community/forum/topic/307/i-want-to-delete-all-the-users-created-before-a-certain-time</guid><dc:creator><![CDATA[dan]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[multi_match query?]]></title><description><![CDATA[<p dir="auto">It looks like multi match (at least as of 2019) doesn't support wildcards:</p>
<blockquote>
<p dir="auto">[a] multimatch query requires match queries as its internal queries. And a match query doesn't support wildcards.</p>
</blockquote>
<p dir="auto"><a href="https://discuss.elastic.co/t/query-with-multimatch-and-wildcard/189962" rel="nofollow ugc">https://discuss.elastic.co/t/query-with-multimatch-and-wildcard/189962</a></p>
<p dir="auto">Can you try with a non wildcard query?</p>
]]></description><link>https://fusionauth.io/community/forum/topic/159/multi_match-query</link><guid isPermaLink="true">https://fusionauth.io/community/forum/topic/159/multi_match-query</guid><dc:creator><![CDATA[dan]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[How can I get all users for an application using the API?]]></title><description><![CDATA[<blockquote>
<p dir="auto">How would I do this kind of search for users within a Postgresql database, I'm not using ElasticSearch.</p>
</blockquote>
<p dir="auto">Sorry, you cannot.</p>
<p dir="auto">Unfortunately you can't search beyond fuzzy matching on the parameters listed in the database search documentation. If you have advanced search needs, we recommend running elasticsearch, which is extremely powerful and flexible.</p>
<p dir="auto">Here's a tutorial on switching search engines: <a href="https://fusionauth.io/docs/v1/tech/tutorials/switch-search-engines/" rel="nofollow ugc">https://fusionauth.io/docs/v1/tech/tutorials/switch-search-engines/</a></p>
]]></description><link>https://fusionauth.io/community/forum/topic/110/how-can-i-get-all-users-for-an-application-using-the-api</link><guid isPermaLink="true">https://fusionauth.io/community/forum/topic/110/how-can-i-get-all-users-for-an-application-using-the-api</guid><dc:creator><![CDATA[dan]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Is there a way to update user data in the UI?]]></title><description><![CDATA[<p dir="auto">If you use the advanced registration forms, you can edit user data now. This was recently released as a premium feature (requiring a paid license; <a href="https://fusionauth.io/pricing/" rel="nofollow ugc">more info here</a>).</p>
<p dir="auto">More info on setting up the user data editing screen: <a href="https://fusionauth.io/docs/v1/tech/guides/advanced-registration-forms/#editing-user-data-in-the-admin-ui" rel="nofollow ugc">https://fusionauth.io/docs/v1/tech/guides/advanced-registration-forms/#editing-user-data-in-the-admin-ui</a></p>
]]></description><link>https://fusionauth.io/community/forum/topic/10/is-there-a-way-to-update-user-data-in-the-ui</link><guid isPermaLink="true">https://fusionauth.io/community/forum/topic/10/is-there-a-way-to-update-user-data-in-the-ui</guid><dc:creator><![CDATA[dan]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Unable to create a registration using the .NET core client]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://fusionauth.io/community/forum/uid/3">@robotdan</a> Ah, I missed that. I was looking at the response section, which had the registration. Thanks!</p>
]]></description><link>https://fusionauth.io/community/forum/topic/7/unable-to-create-a-registration-using-the-net-core-client</link><guid isPermaLink="true">https://fusionauth.io/community/forum/topic/7/unable-to-create-a-registration-using-the-net-core-client</guid><dc:creator><![CDATA[dan]]></dc:creator><pubDate>Invalid Date</pubDate></item></channel></rss>