Skip to main content

Updates the name of a mail folder

PATCH/v2/users/:email/mailFolders/:id

Updates the mail folder for a specified user based on the folder ID. Currently, only modifying the folder name is supported.

Request​

Path parameters

    email stringrequired

    User email address.

    id stringrequired

    Unique identifier of the mail folder.

Body parameters

    displayName string

    New mail folder name.

Response

No response fieldsA successful response contains no documented fields.

Errors

401

Access is unauthorized. Please check whether the correct authorization token is passed.

403

No API access permission. Please complete the relevant authorization on the application management page of the domain administrator.