Skip to main content
DELETE
Delete an organization rule
Removes a custom rule from the organization policy. Rules with a source other than custom, and the Default Rule, are protected. To change the fallback, set the default action instead. System-managed rules (source other than custom) and the Default Rule cannot be deleted.
Availability: Cloud · Community (self-hosted) · Enterprise (self-hosted)

Authorizations

Authorization
string
header
required

A workspace API key (oc_…) or organization API key (oc_org_…). Workspace-scoped endpoints called with an organization key also need X-Workspace-Id.

Path Parameters

ruleId
string
required

Response

Deleted