SetSecurityPolicy
Request Body
application/json
enableIframeEmbedding?boolean
states if iframe embedding is enabled or disabled
allowedOrigins?allowed_origins
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
application/json
curl -X PUT "https://loading/policies/security" \ -H "Content-Type: application/json" \ -d '{}'{
"details": {
"sequence": 0,
"creationDate": "1s",
"changeDate": "1s",
"resourceOwner": "string"
}
}{
"code": "not_found",
"message": "string",
"detail": {
"type": "string",
"value": "string",
"debug": {}
}
}Was this page helpful?