cURL
curl --request PATCH \ --url https://{FUSION HOST}/api/users/{id} \ --header 'Content-Type: application/json' \ --data '{ "currentPassword": { "empty": true }, "password": { "empty": true }, "passwordConfirm": { "empty": true }, "id": "<string>" }'
{ "id": "<string>", "username": "<string>", "realmName": "<string>", "createdAt": "2023-11-07T05:31:56Z", "updatedAt": "2023-11-07T05:31:56Z", "roleNames": [ "<string>" ], "timezone": "<string>", "permissions": [ { "methods": [ "GET" ], "path": "<string>", "params": {} } ] }
Normal users can update only theirs own password, admin users can change any user password
Show child attributes
User is not allowed to make a change
Was this page helpful?