---
title: "Remove a team's agent permissions"
method: DELETE
path: "/v1/agent-permissions/teams/{teamId}"
tags: ["Agent Permissions"]
---

# Remove a team's agent permissions

`DELETE /v1/agent-permissions/teams/{teamId}`

## Request

- Base URL: `https://api.openworklabs.com`
- URL: `https://api.openworklabs.com/v1/agent-permissions/teams/{teamId}`
- Auth: one of:
  - API key in header `x-api-key`
  - HTTP bearer

Removes one team's overrides, so its members get everyone's agent permissions. Idempotent. Requires the agent_permissions.manage permission with a recent sign-in. Browser upload overrides are preserved unless the client sends X-OpenWork-Browser-Upload-Permissions: 1. Force and Use requirements are preserved without their respective sandbox capability headers.

## Path parameters

- `teamId` string, typeid, required

## Response `204`

The team's overrides were removed.

## Other responses

- `401`: The caller must be signed in.
- `403`: The caller needs the agent_permissions.manage permission and a recent sign-in.
- `404`: The team was not found, or agent permissions are not turned on for this organization.

## Changes

- **2026-10-14** `0005cd4e85a8`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/openworklabs/apis/den-api/changes/v1/agent-permissions/teams/:teamId/delete.md)

---

[API](https://skmtc.dev/openworklabs/apis/den-api.md) - [All operations](https://skmtc.dev/openworklabs/apis/den-api/llms.txt) - [OpenAPI document](https://skmtc.dev/openworklabs/apis/den-api/revisions/84fb0f99fb95?raw)
