On success the other login sessions of the user are logged out and their websockets closed; the session of the request and integration tokens (persistent tokens) stay valid.
POST
/user/password
curl \
--request POST 'https://middleware.example.com/api/user/password' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{
"current_password": "string",
"new_password": "string"
}'
Request examples
{
"current_password": "string",
"new_password": "string"
}
Response examples (200)
{
"code": 42,
"message": "string",
"error": "string"
}
Response examples (400)
{
"code": 42,
"message": "string",
"error": "string"
}
Response examples (401)
{
"code": 42,
"message": "string",
"error": "string"
}
Response examples (503)
{
"code": 42,
"message": "string",
"error": "string"
}