Docs

Policies

OpenAPI operations for operation policies, such as the password policy.

A policy holds the settings a project's operation is checked against, for example the minimum length a new password must have. A project has one policy per operation; each publish creates an immutable revision, and the newest one applies the next time the operation runs. Settings left out are off: Zitadel applies no defaults.

MethodPathSummary
GET/policiesList policies
POST/policiesPublish a policy
POST/policies/evaluateEvaluate a policy
GET/policies/{policy_id}Get a policy
GET/policies/{policy_id}/revisionsList the revisions of a policy
GET/policies/revisions/{revision_id}Get a policy revision

Was this helpful?