Searching:
0 results foundUsers/ChangePassword
POST /odata/users/changePassword
Description
This option enables you to change your own password after you are already logged in.
See the following for request and response details ‒
See Also
Request ‒ Users/ChangePassword
Property | Type | Description | Mandatory |
password | String | This new password must be according to the syntax defined in the passwordPolicy property of the Application to which this User belongs. | Y |
invite | Boolean | Indicates whether the change password is from an invite user operation. | Y |
Example JSON Users/ChangePassword Request
curl -X POST \
https://api.stg.axonize.com/odata/users/changePassword \
-H ‘Content-Type: application/json’ \
-H ‘Authorization: Token’ \
-d ‘{
“password”:”somePassword!!”,”invite”:true
}’
Response ‒ Users/ChangePassword
All the same properties in the request are returned in the response. In addition, the response that is returned also contains the following properties –
Property | Type | Description |
token | String | The authorization Token that enables access to the Axonize REST API for the next 10 hours. The Token (or the Client ID/Client Secret) must be used as authentication in each request header and specifies the Application(s) to which this User is allowed access. |
uniqueIdentifier | String | A unique Application identifier (appId) that is automatically generated by Axonize. This is the identifier of the Application to which this User is assigned.
This identifier is also automatically generated by Axonize when the Application/Post request is used. |
Example JSON Users/ChangePassword Response
Status 200 – OK
{
“token”: “afsdfasdfasdf”,
“uniqueIdentifier”: “someapplication”
}