> ## Documentation Index
> Fetch the complete documentation index at: https://www.posted.cc/llms.txt
> Use this file to discover all available pages before exploring further.

# delete_workspace

> Delete an empty workspace with Posted MCP.

Delete an empty non-default workspace. Confirm deletion with the user.

## Workflow

```mermaid theme={"system"}
flowchart LR
  step0["Read available workspaces"] --> step1
  step1["Choose the workspace"] --> step2
  step2["Perform the action"]
```

## Access and behavior

Administrator consent and a current administrator team role are required. Tools are listed and callable only when the current grant and role permit them.

Additional workspaces require membership. Existing team roles apply. Default is available to everyone and cannot be deleted. Only an empty additional workspace can be deleted.

> [!WARNING]
>
> Confirm the exact target and consequence with the user before calling this
> tool.

## Arguments

| Argument | Required | Type or meaning |
| - | - | - |
| `workspaceId` | Yes | Workspace UUID returned by list\_workspaces, including for Default. |

> **Complete input schema**
>
> ```json theme={"system"}
> {
>   "type": "object",
>   "properties": {
>     "workspaceId": {
>       "type": "string",
>       "format": "uuid",
>       "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
>     }
>   },
>   "required": ["workspaceId"],
>   "additionalProperties": false
> }
> ```

## Example call

The client initializes the MCP connection before sending this JSON-RPC call. Example records are fictional.

```json theme={"system"}
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "delete_workspace",
    "arguments": {
      "workspaceId": "55555555-5555-4555-8555-555555555555"
    }
  }
}
```

## Example result

Posted returns this object in `structuredContent` and a JSON text content block. A tool failure sets `isError`; never treat an error as a completed mutation.

```json theme={"system"}
{
  "completed": true
}
```

## Related reference

[HTTP operation](https://www.posted.cc/api-reference/delete_api_workspaces_by_workspaceId.md) · [Connect an MCP client](https://www.posted.cc/mcp-connections.md) · [Request conventions](https://www.posted.cc/api-reference/overview.md)


## Related topics

- [Delete an empty workspace](https://www.posted.cc/api-reference/delete_api_workspaces_by_workspaceId.md)
- [Workspaces](https://www.posted.cc/workspaces.md)
- [delete_draft](https://www.posted.cc/mcp-reference/delete_draft.md)
- [Delete a draft](https://www.posted.cc/api-reference/delete_api_drafts_by_draftId.md)
- [Remove a workspace member](https://www.posted.cc/api-reference/delete_api_workspaces_by_workspaceId_members_by_userId.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.