Change user password
Change the password of the current user. Users can only change their own passwords.
- 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/_change_password
Authorization
Request
Request
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"
}'
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"
}'
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"
}'
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"
}'
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"
}'
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"
}'
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"
}'