Skip to main content

Get the password complexity settings

GET 

https://$CUSTOM-DOMAIN/v2/settings/password/complexity

Return the password complexity settings for the requested context

Request​

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 (string)
    creationDate date-time

    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 (string)

    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

curl -L 'https://$CUSTOM-DOMAIN/v2/settings/password/complexity' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>'
Request Collapse all
Base URL
https://$CUSTOM-DOMAIN
Auth
Parameters
— query
— query
ResponseClear

Click the Send API Request button above and see the response here!