Folders
Update folder
Update/rename an existing folder. This operation renames the folder to the new path specified in the request body. You can use either the folder's ObjectID or its current path as the identifier. Folders inside it are renamed with it (e.g., 'Work/Clients' becomes 'Jobs/Clients' when 'Work' is renamed to 'Jobs'). INBOX cannot be renamed.
put/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
Request body
Response
Folder updated 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.