curl --request PUT \
  --url http://localhost:8000/password \
  --header 'Content-Type: application/json' \
  --data '{
  "password": "9UnCBEx924a45P7p",
  "user_id": "c339547d-e17d-4ba7-8a1d-b3d5a4d17c1c"
}'
This response has no body data.

Authorizations

hanko
string
cookierequired

Body

application/json
password
string
required

The actual password, its minLength defaults to 8 but can be configured through the password.min_password_length option.

user_id
string
required

The ID of the user to create/set a password for