core_users_set_password_create
POST/api/v3//core/users/:id/set_password/
Set password for user
Request
Path Parameters
id integerrequired
A unique integer value identifying this User.
- application/json
Body
required
password stringrequired
Possible values: non-empty
Responses
- 204
- 400
- 403
Successfully changed password
Bad request
- application/json
- Schema
- Example (from schema)
Schema
detail stringrequired
code string
{
"detail": "string",
"code": "string"
}
- curl
- python
- go
- nodejs
- ruby
- csharp
- php
- java
- powershell
- CURL
curl -L -X POST '/api/v3/core/users/:id/set_password/' \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <TOKEN>' \
--data-raw '{
"password": "string"
}'