Skip to main content

Get the password complexity settings​

Return the password complexity settings for the requested context

Query Parameters
    ctx.orgId string
    ctx.instance boolean
Responses

OK


Schema
    details object
    sequence uint64

    on read: the sequence of the last event reduced by the projection

    on manipulation: the timestamp of the event(s) added by the manipulation

    changeDate date-time

    on read: the timestamp of the last event reduced by the projection

    on manipulation: the timestamp of the event(s) added by the manipulation

    resourceOwner resource_owner is the organization or instance_id an object belongs to
    settings object
    minLength uint64

    Defines the minimum length of a password.

    requiresUppercase boolean

    defines if the password MUST contain an upper case letter

    requiresLowercase boolean

    defines if the password MUST contain a lowercase letter

    requiresNumber boolean

    defines if the password MUST contain a number

    requiresSymbol boolean

    defines if the password MUST contain a symbol. E.g. "$"

    resourceOwnerType resource_owner_type returns if the settings is managed on the organization or on the instance

    Possible values: [RESOURCE_OWNER_TYPE_UNSPECIFIED, RESOURCE_OWNER_TYPE_INSTANCE, RESOURCE_OWNER_TYPE_ORG]

    Default value: RESOURCE_OWNER_TYPE_UNSPECIFIED

    resource_owner_type returns if the settings is managed on the organization or on the instance

GET /v2beta/settings/password/complexity

Authorization

name: OAuth2type: oauth2scopes: openid,urn:zitadel:iam:org:project:id:zitadel:audflows: {
  "authorizationCode": {
    "authorizationUrl": "$CUSTOM-DOMAIN/oauth/v2/authorize",
    "tokenUrl": "$CUSTOM-DOMAIN/oauth/v2/token",
    "scopes": {
      "openid": "openid",
      "urn:zitadel:iam:org:project:id:zitadel:aud": "urn:zitadel:iam:org:project:id:zitadel:aud"
    }
  }
}

Request

Base URL
https://$CUSTOM-DOMAIN
Bearer Token
ctx.orgId — query
ctx.instance — query
Accept
curl / cURL
curl -L -X GET 'https://$CUSTOM-DOMAIN/v2beta/settings/password/complexity' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>'