ZITADEL Docs
APIsCore ResourcesV1Instance Objects

UpdatePasswordComplexityPolicy

PUT
/policies/password/complexity

Request Body

application/json

minLength?integer
hasUppercase?boolean
hasLowercase?boolean
hasNumber?boolean
hasSymbol?boolean
[key: string]?never

Response Body

application/json

application/json

curl -X PUT "https://loading/policies/password/complexity" \  -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?