SetSecurityPolicy
Request Body
application/json
enableIframeEmbedding?boolean
states if iframe embedding is enabled or disabled
allowedOrigins?array<>
origins allowed loading Zitadel in an iframe if enable_iframe_embedding is true
enableImpersonation?boolean
allows users to impersonate other users. The impersonator needs the appropriate *_IMPERSONATOR roles assigned as well"
[key: string]?never
Response Body
application/json
curl -X PUT "https://loading/policies/security" \ -H "Content-Type: application/json" \ -d '{}'{
"details": {
"sequence": 0,
"creationDate": "2023-01-15T01:30:15.01Z",
"changeDate": "2023-01-15T01:30:15.01Z",
"resourceOwner": "string"
}
}Was this page helpful?
SetRestrictions
Explore the SetRestrictions operation in the ZITADEL API. Learn about request parameters, response schemas, and integration details for this endpoint.
Setup Organization
Setup Organization: Deprecated: use [organization service v2 AddOrganization](/reference/api/org/zitadel.org.v2.OrganizationService.AddOrganization) instead. Create a new organization with an administrative user. If n...