Deletes a mailbox associated with the account API key used.

Request Fields

These are passed in as arguments at the top level of the request.

Key Type Description
id string
Required*
A mailbox ID returned by list_mailboxs or obtained by a previous create_mailbox call.
uid string
Required*
An identifier to refer to this mailbox on subsequent API calls.

* One of id or uid must be supplied in order to identify which mailbox to update. If both are supplied the id key has priority and the mailbox’s uid will be changed to the supplied value.

Request Example

{
  "api_key" : "__ACCOUNT_API__KEY__",
  "arguments": {
    "uid": "example-mailbox"
  }
}