Skip to main content

Restrict the instances features

PUT 

https://$CUSTOM-DOMAIN/admin/v1/restrictions

Undefined values don't change the current restriction. Zero values remove the current restriction.

Request​

Body

required

    disallowPublicOrgRegistration boolean

    defines if ZITADEL should expose the endpoint /ui/login/register/org. If it is true, the org registration endpoint returns the HTTP status 404 on GET requests, and 409 on POST requests.

    allowedLanguages

    object

    restricts the allowed languages. If allowed_languages is undefined, the allowed languages are not changed.

    list string[]

    defines which languages to select. An empty list means all languages are selected.

Responses​

Restrictions set.

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

    creationDate date-time

    on read: the timestamp of the first event of the object

    on create: 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

    resourceOwner resource_owner is the organization an object belongs to (string)
curl -L -X PUT 'https://$CUSTOM-DOMAIN/admin/v1/restrictions' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>' \
-d '{
"disallowPublicOrgRegistration": true,
"allowedLanguages": {
"list": [
"string"
]
}
}'
Request Collapse all
Base URL
https://$CUSTOM-DOMAIN/admin/v1
Auth
Body required
{
  "disallowPublicOrgRegistration": true,
  "allowedLanguages": {
    "list": [
      "string"
    ]
  }
}
ResponseClear

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