Skip to main content
DELETE
Delete an organization secret
Removes a shared secret from every workspace and every agent grant that referenced it. Use it to retire a credential for good. To stop one agent from using it while keeping the secret, detach the grant instead.
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

secretId
string
required

Response

Deleted