Erase every thread in one mailbox's Trash now. There is no undo.

post/v1/mailboxes/{mailboxId}/trash/empty

Request

  • The document declares no server URL.
  • Auth: one of:
    • OAuth 2 (authorization code, authorization URL /authorize, token URL /oauth/token, scopes: email.write)
    • HTTP bearer

Path parameters

mailboxIdstring required

Response

The request has succeeded.

erasedinteger required

Threads erased — zero when the Trash was already empty.

Changes

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