Inboxes
Remove an inbox
Not available to API keys. Removing an inbox deletes its stored credential and synced mail, so the owner does it on the Inboxes page of the website.
Always returns 403 for an API key. Mail in the mailbox itself is never touched by removal.
Headers
| Name | Type | Required | Description |
|---|---|---|---|
Authorization |
string | Required | Bearer followed by your API key. |
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
id |
string | Required | Inbox id from List inboxes, like inbox_lx2k9a1b. |
Response
200 OK.
| Name | Type | Description |
|---|---|---|
error |
string | owner_session_required. |
error_description |
string | A plain sentence that points to the Inboxes page. |
Errors
| Status | Error | Meaning |
|---|---|---|
| 403 | owner_session_required |
API keys cannot remove inboxes. Use the Inboxes page. |
Any route can also return 401 for a bad key, 402 when the trial ended or payment failed, and 429 when you send too many requests. See Errors.