# Delete a workset

Deletes a workset. This does not delete the individual content items, content types, or taxonomies it contains {% admonition type="info" name="Note"%} You can only delete worksets that have not been used by a process. Worksets expire after 30 days. {% /admonition %}

Endpoint: DELETE /api/v2/cm/branches/{branchId}/worksets/{worksetId}
Version: v2.0
Security: OAuth2.0

## Path parameters:

  - `branchId` (string, required)
    The ID of the branch, for example prod.

  - `worksetId` (string, required)
    The unique identifier of the workset.

## Response 400 fields (application/json):

  - `type` (string,null)

  - `title` (string,null)

  - `status` (integer,null)

  - `detail` (string,null)

  - `instance` (string,null)


## Response 204 fields

## Response 401 fields

## Response 403 fields

## Response 500 fields
