Chimely
Api

Set a user's password (user:manage, or the user themselves)

POST
/admin/api/users/{user_id}/password

Authorization

AdminSession
chimely_admin<token>

Server-side admin session cookie, set by POST /admin/api/login.

In: cookie

Path Parameters

user_id*string

Admin user TypeID (adm_…).

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

curl -X POST "https://example.com/admin/api/users/string/password" \  -H "Content-Type: application/json" \  -d '{    "password": "string"  }'
Empty
{
  "error": {
    "code": "invalid_request",
    "message": "string"
  }
}
Empty
{
  "error": {
    "code": "invalid_request",
    "message": "string"
  }
}
{
  "error": {
    "code": "invalid_request",
    "message": "string"
  }
}