Change user password
PUT//v1/users/:username/password
Change user password
Request
Path Parameters
username stringrequired
The username
- application/json
Body
required
The users new password
password stringrequired
Responses
- 200
- 400
- 401
- 404
User successfully updated
Invalid request
Unauthorized (Wrong permissions, missing token)
- application/json
- Schema
- Example (from schema)
Schema
error stringrequired
missingPermission stringrequired
{
"error": "string",
"missingPermission": "string"
}
User not found
Authorization: Authorization
name: Authorizationtype: apiKeydescription: JWT Tokenin: header
- curl
- python
- go
- nodejs
- ruby
- csharp
- php
- java
- powershell
- CURL
curl -L -X PUT '/v1/users/:username/password' \
-H 'Content-Type: application/json' \
-H 'Authorization: <API_KEY_VALUE>' \
--data-raw '{
"password": "password"
}'
ResponseClear