Agent Permissions

Remove a managed OpenCode config

Changed on

Deletes a published config that is assigned to nobody. A config that is still assigned is refused, so no member loses their rules by accident: unassign it first. Removing a name that is not there answers not_found. Requires Managed OpenCode config and agent_permissions.manage with a recent sign-in.

delete/v1/org/opencode-configs/{name}

Request

  • Base URL
    https://api.openworklabs.com
  • Auth
    • API key in header x-api-key
    • or HTTP bearer

Path parameters

name, string required

Response

Removed, or was not there.

ManagedOpencodeConfigRemoveResponse required
result, 'removed' | 'not_found' required

Changes