Skip to Content
ZITADEL Docs
APIsCore ResourcesV2Settings

Set Security Settings

Set the security settings of the instance.

Required permissions:

  • iam.policy.write
PUT
/v2/settings/security

Request Body

application/json
  1. body
embeddedIframe?

EmbeddedIframeSettings defines if the login UI can be embedded in an iframe and which origins are allowed to do so.

enableImpersonation?enable_impersonation

If enabled, users are allowed to impersonate other users. The impersonator needs the appropriate *_IMPERSONATOR roles assigned as well".

dynamicClientRegistration?

DynamicClientRegistrationSettings defines if OAuth 2.0 clients may register themselves at runtime (RFC 7591) and whether they may do so without a token.

Response Body

Success

application/json
  1. response
details?
Example Request
curl -X PUT 'https://example.com/v2/settings/security' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response200
{  "details": {    "sequence": 0,    "changeDate": "2023-01-15T01:30:15.01Z",    "resourceOwner": "string",    "creationDate": "2023-01-15T01:30:15.01Z"  }}

Was this page helpful?