---
title: "Delete team permissions"
method: DELETE
path: "/v1/permissions/sets/{permissionSetId}"
tags: ["Permissions"]
---

# Delete team permissions

`DELETE /v1/permissions/sets/{permissionSetId}`

## Request

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

Archives a team permission set and unlinks it from its team, so its permissions stop applying to the team's members. The set and its history are kept. Member, Admin and Super admin permissions can't be deleted. Requires permissions.manage (only the owner has it by default), and a recent sign-in.

## Path parameters

- `permissionSetId` string, typeid, required

## Response `204`

The team permission set was archived.

## Other responses

- `400`: The id was invalid, or the set is Member, Admin or Super admin permissions.
- `401`: The caller must be signed in.
- `403`: The caller lacks permissions.manage or needs a recent sign-in.
- `404`: The permission set or organization was not found, or Permissions is turned off.
- `409`: The permission set is already archived.

## Changes

- **2026-10-23** `c93387179b31`: 1 info
  - response property `anyOf[#/components/schemas/InvalidRequestError]/details/items/path/items/` list-of-types was narrowed by removing types `number` from media type `application/json` of response `400`
- **2026-10-09** `cc8a41bb846e`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/openworklabs/apis/den-api/changes/v1/permissions/sets/:permissionSetId/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)
