Folders
Delete folder
Delete a specific folder. Its messages are moved to Trash (messages in Trash or Junk are deleted permanently), and folders inside it are kept. INBOX cannot be deleted. You can use either the folder's ObjectID or its path as the identifier.
delete/v1/folders/{id}
Request
- Base URL: https://api.forwardemail.net
- URL: https://api.forwardemail.net/v1/folders/{id}
- Auth: HTTP basic
Path parameters
idstring required
Folder ID or path
Response
Folder deleted successfully
Example response
{
"id": "folder123",
"path": "INBOX/Subfolder",
"name": "Subfolder",
"parent": "INBOX",
"uid_validity": 123456,
"uid_next": 1,
"modify_index": 1,
"subscribed": true,
"flags": [],
"retention": null,
"special_use": null,
"created_at": "2025-01-01T00:00:00.000Z",
"updated_at": "2025-01-01T00:00:00.000Z",
"object": "folder"
}Changes
No recorded changes to this operation across all 1 revision of this API.