Agent Permissions

Unassign a managed OpenCode config

Changed on

Removes the config assigned to everyone, one team or one member. Members it no longer reaches go back to Agent permissions in full the next time their desktop app checks in. Removing an assignment that is not there answers not_assigned. Requires Managed OpenCode config and agent_permissions.manage with a recent sign-in.

post/v1/org/opencode-config-assignments/remove

Request

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

Request body

ManagedOpencodeConfigUnassignRequest required
target, union required

Response

Unassigned, or nothing was assigned.

ManagedOpencodeConfigUnassignResponse required
result, 'unassigned' | 'not_assigned' required
config, string nullable required

Changes