Agent Permissions
Remove a managed OpenCode config
Changed onDeletes 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 URLhttps://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.
Managed Opencode Config Remove Response required
result, 'removed' | 'not_found' required
Changes
- info
endpoint added
- info