Delete a folder
delete_folderDeletes a folder and relocates its contents: items move to root, child folders move to the parent. Requires accounts:write scope.
Instructions
Delete a folder.
Required API key scope: accounts:write.
DELETE /folders/{id}
Requires accounts:write regardless of type. Items inside move to root; child folders move to this folder's parent.
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_folder"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Path parameter `id`. |