Change user password
This endpoint has been deprecated and may be removed in future versions of the API.
Change the password of the specified user. Users can change their own passwords.
Path Parameters
- user_id int64 required
Performs the operation on the user with the specified ID.
- application/json
Request Body
- current_password string required
The user's current password.
- new_password string required
The new password that is to replace the user's current password. Passwords must be between 14 and 64 characters and include the following: one uppercase character, one lowercase character, one number, and one special character. Spaces are not allowed.
- 200
- default
Success
- application/api.clumio.users=v2+json
- Schema
- Example (from schema)
Schema
_links object
HateoasCommonLinks are the common fields for HATEOAS response.
_self object
The HATEOAS link to this resource.
href stringThe URI for the referenced operation.
templated booleanDetermines whether the "href" link is a URI template. If set to
true
, the "href" link is a URI template.type stringThe HTTP method to be used with the "href" link for the referenced operation.
{
"_links": {
"_self": {
"href": "string",
"templated": true,
"type": "string"
}
}
}
Error
- application/json
- Schema
- Example (from schema)
Schema
errors object[]
A list of errors encountered during runtime.
error_code uint32error_message stringThe reason for the error.
{
"errors": [
{
"error_code": 0,
"error_message": "string"
}
]
}