ZITADEL Docs
APIsCore ResourcesV2Feature

SetInstanceFeatures

Set Instance Features

Configure and set features that apply to a complete instance. Only fields present in the request are set or unset.

Required permissions:

  • iam.feature.write
PUT
/v2/features/instance

Request Body

application/json

loginDefaultOrg?boolean
userSchema?boolean
oidcTokenExchange?booleanDeprecated

Deprecated: the flag has been removed and urn:ietf:params:oauth:grant-type:token-exchange grant type for the OIDC token endpoint is enabled by default. Token exchange can be used to request tokens with a lesser scope or impersonate other users. See the security policy to allow impersonation on an instance. This field is only kept for backward compatibility and will be removed in the next major version of Zitadel. Setting the field will have no effect.

improvedPerformance?improved_performance
debugOidcParentError?boolean
oidcSingleV1SessionTermination?boolean
enableBackChannelLogout?boolean
loginV2?
permissionCheckV2?boolean
consoleUseV2UserApi?boolean
enableRelationalTables?boolean
[key: string]?never

Response Body

application/json

application/json

curl -X PUT "https://loading/v2/features/instance" \  -H "Content-Type: application/json" \  -d '{}'
{
  "details": {
    "sequence": 0,
    "changeDate": "1s",
    "resourceOwner": "string",
    "creationDate": "1s"
  }
}
{
  "code": "not_found",
  "message": "string",
  "detail": {
    "type": "string",
    "value": "string",
    "debug": {}
  }
}

Was this page helpful?