PUT
/
users
/
{id}
/
password
curl --request PUT \
  --url https://{tenant_id}.hanko.io/admin/users/{id}/password \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "password": "<string>"
}'
{
  "id": "28a7206b-e789-435a-b87c-108e034135c2",
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your API key. Must only be used when using Hanko Cloud.

Path Parameters

id
string
required

UUID of the requested object

Body

application/json
password
string

Response

200
application/json
OK

The password credential of a user

id
string

The ID of the password credential

created_at
string

Time of creation of the password credential

updated_at
string

Time of last update of the password credential