ZITADEL Docs
APIsCore ResourcesV1Instance Objects

GetPasswordAgePolicy

GET
/policies/password/age

Response Body

application/json

application/json

curl -X GET "https://loading/policies/password/age"
{
  "policy": {
    "details": {
      "sequence": 0,
      "creationDate": "1s",
      "changeDate": "1s",
      "resourceOwner": "string"
    },
    "maxAgeDays": 0,
    "expireWarnDays": 0,
    "isDefault": true
  }
}
{
  "code": "not_found",
  "message": "string",
  "detail": {
    "type": "string",
    "value": "string",
    "debug": {}
  }
}

Was this page helpful?