Skip to main content

Change user password

deprecated

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.

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/:user_id/password-v1    

Authorization

Request

Click Edit to configure Base URL
https://us-west-2.api.clumio.com
Bearer Token
user_id — path required
Body
{
"current_password": "string",
"new_password": "string"
}
curl -L -X PUT 'https://us-west-2.api.clumio.com/users/:user_id/password-v1' \
-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"
}'