Delete Workspace
delete_workspaceDelete a workspace of the organization with everything it holds: posts, RSS feeds, inbox items, API keys and connect links. This cannot be undone. The default workspace, the organization's last workspace and a workspace that still has connected social accounts cannot be deleted (400); disconnect its accounts with remove_account first. Confirm with the user first, naming the workspace and saying what it holds. Needs the workspace.manage permission, which Admin holds. The member who created the key, or the signed-in member, must also be an organization owner or admin (org-owner or org-admin); otherwise it fails with 403 permission_denied. Fails with 404 when the workspace is not in this organization. Returns { success: true }.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"id": "<id>"
},
"name": "delete_workspace"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Id of the workspace to delete, from list_workspaces. This is the target; workspaceId only picks the workspace the call acts in | |
| workspaceId | No | Workspace to act in: an id from list_workspaces. Omit to act in the workspace list_workspaces marks current. Use the same workspaceId for every call about the same workspace, since ids from one workspace (accounts, posts, uploads) do not exist in another |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes | An object with success: true once the workspace is deleted. |