Files

Rename or move a file in the same mailbox

Changes the path without uploading the content again.

post/v1/mailboxes/{mailbox_id}/files/{file_id}/rename

Request

  • Base URL: https://api.revdoku.com
  • URL: https://api.revdoku.com/v1/mailboxes/{mailbox_id}/files/{file_id}/rename
  • Auth: HTTP bearer

Path parameters

mailbox_idstring required
file_idstring required

Request body

new_pathstring required
account_idstring

Select another granted account for this request.

reasonstring nullable

Optional purpose for this action. AI agents should explain intentional reads and changes when known; omit when unknown. Do not include secrets, file contents, or transcripts.

Response

Success

successtrue required

Changes

No recorded changes to this operation across all 1 revision of this API.