ZITADEL Docs
APIsCore ResourcesV1Organization Objects

SetHumanInitialPassword

Set Human Initial Password

Deprecated: use user service v2 SetPassword instead.

POST
/users/{user_id}/password/_initialize

Path Parameters

user_id*string

Request Body

application/json

password?string
[key: string]?never

Response Body

application/json

application/json

curl -X POST "https://loading/users/string/password/_initialize" \  -H "Content-Type: application/json" \  -d '{}'
{
  "details": {
    "sequence": 0,
    "creationDate": "1s",
    "changeDate": "1s",
    "resourceOwner": "string"
  }
}
{
  "code": "not_found",
  "message": "string",
  "detail": {
    "type": "string",
    "value": "string",
    "debug": {}
  }
}

Was this page helpful?