Skip to main content
PATCH
Enable or disable a blocklist entry
Flips one blocklist entry’s enabled state. See Rules for how blocks affect agents.
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

provider
string
required

App provider identifier (for example gmail, github, jira).

ruleId
string
required

Blocklist rule ID (the ruleId field of a blocklist state entry).

Body

application/json
enabled
boolean
required

Response

Updated

success
boolean