v4

OpenAPI 3.1.02026-07-313621,3961.8 MB
workspace
api-key

Set Workspace Third-Party Disabling Policy

Set the workspace-wide Third-Party Disabling policy. When set, it forces, for every API key in the workspace, whether the holder of a key (potentially a third party who found it) may disable it via the self-disable endpoint or when it leaks publicly — overriding each key's own setting. Pass true to allow it for all keys, false to forbid it for all keys, or null to clear the override so per-key values and the plan default apply again. Workspace admins only.

post/v1/workspaces/api-keys/third-party-disabling

Headers

xi-api-keystring nullable

Your API key. This is required by most endpoints to access our API programmatically. You can view your xi-api-key using the 'Profile' tab on the website.

Your API key. This is required by most endpoints to access our API programmatically. You can view your xi-api-key using the 'Profile' tab on the website.

Request body

third_party_disable_allowedboolean nullable

true forces every key in the workspace to be disable-able by its holder; false forbids it for every key; null clears the override (per-key values and the plan default apply).

Response

Successful Response

{"stackTrail":"paths:/v1/workspaces/api-keys/third-party-disabling:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}