Skip to main content
PUT
/
v1
/
policies
/
enforcement
Enable/disable all policy enforcement for the org (kill switch)
curl --request PUT \
  --url https://api-sandbox.featherhq.com/v1/policies/enforcement \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "enabled": true
}
'
{
  "policy_enforcement_enabled": true
}

Authorizations

x-api-key
string
header
required

Body

application/json

Flip the org-wide policy enforcement master switch.

enabled=False is a global kill switch: the resolver yields an empty set for every assistant in the org, suspending ALL policy enforcement without deleting any policy. True restores per-policy enforcement.

enabled
boolean
required

Response

Successful Response

The org-wide policy enforcement master (kill) switch.

policy_enforcement_enabled
boolean
required