Skip to main content

Rename a folder

PUT 

/api/accounts/:accountId/folders/:folder

Renames the folder with IMAP RENAME, keeping it under the same parent: newName replaces only the last segment of the path, and the folder's messages and subfolders move with it.

The server does not check capabilities; renaming a special folder is left to the IMAP server, and a refusal returns 424.

Request​

Responses​

Renamed.