Restrict the instances features​
Undefined values don't change the current restriction. Zero values remove the current restriction.
Request Body required
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
Request Body required
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
Request Body required
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
- 200
- 400
- 403
- 404
- default
Restrictions set.
Schema
details object
{
"details": {
"sequence": "2",
"creationDate": "2024-04-09T11:59:32.552Z",
"changeDate": "2024-04-09T11:59:32.552Z",
"resourceOwner": "69629023906488334"
}
}
Schema
details object
{
"details": {
"sequence": "2",
"creationDate": "2024-04-09T11:59:32.552Z",
"changeDate": "2024-04-09T11:59:32.552Z",
"resourceOwner": "69629023906488334"
}
}
Schema
details object
{
"details": {
"sequence": "2",
"creationDate": "2024-04-09T11:59:32.552Z",
"changeDate": "2024-04-09T11:59:32.552Z",
"resourceOwner": "69629023906488334"
}
}
No restriction is defined.
Schema
- any
Schema
- any
Schema
- any
Returned when the user does not have permission to access the resource.
Schema
details object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
Schema
details object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
Schema
details object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
Returned when the resource does not exist.
Schema
details object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
Schema
details object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
Schema
details object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
An unexpected error response.
Schema
details object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
Schema
details object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
Schema
details object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
PUT /restrictions
Authorization
name: OAuth2type: oauth2scopes:openid,urn:zitadel:iam:org:project:id:zitadel:aud
flows: { "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
Request
curl -L -X PUT 'https://$CUSTOM-DOMAIN/admin/v1/restrictions' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>' \
--data-raw '{
"disallowPublicOrgRegistration": true,
"allowedLanguages": {
"list": [
"string"
]
}
}'
curl -L -X PUT 'https://$CUSTOM-DOMAIN/admin/v1/restrictions' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>' \
--data-raw '{
"disallowPublicOrgRegistration": true,
"allowedLanguages": {
"list": [
"string"
]
}
}'
curl -L -X PUT 'https://$CUSTOM-DOMAIN/admin/v1/restrictions' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>' \
--data-raw '{
"disallowPublicOrgRegistration": true,
"allowedLanguages": {
"list": [
"string"
]
}
}'
curl -L -X PUT 'https://$CUSTOM-DOMAIN/admin/v1/restrictions' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>' \
--data-raw '{
"disallowPublicOrgRegistration": true,
"allowedLanguages": {
"list": [
"string"
]
}
}'
curl -L -X PUT 'https://$CUSTOM-DOMAIN/admin/v1/restrictions' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>' \
--data-raw '{
"disallowPublicOrgRegistration": true,
"allowedLanguages": {
"list": [
"string"
]
}
}'
curl -L -X PUT 'https://$CUSTOM-DOMAIN/admin/v1/restrictions' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>' \
--data-raw '{
"disallowPublicOrgRegistration": true,
"allowedLanguages": {
"list": [
"string"
]
}
}'
curl -L -X PUT 'https://$CUSTOM-DOMAIN/admin/v1/restrictions' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>' \
--data-raw '{
"disallowPublicOrgRegistration": true,
"allowedLanguages": {
"list": [
"string"
]
}
}'
curl -L -X PUT 'https://$CUSTOM-DOMAIN/admin/v1/restrictions' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>' \
--data-raw '{
"disallowPublicOrgRegistration": true,
"allowedLanguages": {
"list": [
"string"
]
}
}'
curl -L -X PUT 'https://$CUSTOM-DOMAIN/admin/v1/restrictions' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>' \
--data-raw '{
"disallowPublicOrgRegistration": true,
"allowedLanguages": {
"list": [
"string"
]
}
}'