Skip to main content
PUT
Update security headers

Authorizations

Authorization
string
header
required

Personal access token, sent as Authorization: Bearer <token>. Each operation lists the permission it needs: read_only or full_access. A full-access token can call every operation. A read-only token can call only the operations that list read_only; anything else returns 403 read_only_credential_route_not_allowed.

Path Parameters

app_id
string
required

ID of the app.

Body

application/json
prevent_iframe_embedding
boolean | null

Set true to stop every site from showing the published app in a frame. Set false to lift that block, so framing follows the app's other settings and its workspace's policy again.

Example:

true

restrict_browser_features
boolean | null

Set true to make the published app send a restrictive Permissions-Policy header, or false to stop sending it.

Example:

true

Response

The app's security header settings after the change.

result
SecurityHeadersSettingsResult · object
required

The app's security header settings.