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; requires self-disable access.

Headers

xi-api-keystringOptional

Request

This endpoint expects an object.
third_party_disable_allowedboolean or nullOptional

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

Errors

422
Unprocessable Entity Error