Agent Permissions
Unassign a managed OpenCode config
Changed onRemoves 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 URLhttps://api.openworklabs.com
- Auth
- API key in header x-api-key
- or HTTP bearer
Request body
Managed Opencode Config Unassign Request required
target, union required
Response
Unassigned, or nothing was assigned.
Managed Opencode Config Unassign Response required
result, 'unassigned' | 'not_assigned' required
config, string nullable required
Changes
- info
endpoint added
- info