Skip to main content

Change user password

Change the password of the current user. Users can only change their own passwords.

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.

Responses

Success


Schema
  • _links object

    HateoasCommonLinks are the common fields for HATEOAS response.

  • _self object

    The HATEOAS link to this resource.

  • href string

    The URI for the referenced operation.

  • templated boolean

    Determines whether the "href" link is a URI template. If set to true, the "href" link is a URI template.

  • type string

    The HTTP method to be used with the "href" link for the referenced operation.

PUT /users/_change_password    

Authorization

Request

Click Edit to configure Base URL
https://us-west-2.api.clumio.com
Bearer Token
Body
{
"current_password": "string",
"new_password": "string"
}
curl -L -X PUT 'https://us-west-2.api.clumio.com/users/_change_password' \
-H 'Content-Type: application/json' \
-H 'Accept: application/api.clumio.users=v2+json' \
-H 'Authorization: Bearer <TOKEN>' \
--data-raw '{
"current_password": "string",
"new_password": "string"
}'