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.
- 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.
Responses
- 200
- default
Success
- application/api.clumio.users=v2+json
- Schema
- Example (from schema)
Schema
_links object
{
"_links": {
"_self": {
"href": "string",
"templated": true,
"type": "string"
}
}
}
Error
- application/json
- Schema
- Example (from schema)
Schema
errors object[]
{
"errors": [
{
"error_code": 0,
"error_message": "string"
}
]
}
PUT /users/:user_id/password-v1
Authorization
Request
Request
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"
}'
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"
}'
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"
}'
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"
}'
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"
}'
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"
}'
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"
}'