Delete a mailbox
curl --request POST \
--url https://api.salessequencer.com/api/v1/mailboxes/{mailbox_id}/delete \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.salessequencer.com/api/v1/mailboxes/{mailbox_id}/delete"
headers = {"X-API-Key": "<api-key>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.salessequencer.com/api/v1/mailboxes/{mailbox_id}/delete', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));Mailboxes
Delete a mailbox
Permanently removes the mailbox. Contacts that referenced it as sender are detached (mailbox_id set to null) first. Unknown id flashes ‘Mailbox not found.’; a mailbox in another workspace is 404.
Minimum role: edit (x-min-role). Destructive: true (x-destructive).
POST
/
mailboxes
/
{mailbox_id}
/
delete
Delete a mailbox
curl --request POST \
--url https://api.salessequencer.com/api/v1/mailboxes/{mailbox_id}/delete \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.salessequencer.com/api/v1/mailboxes/{mailbox_id}/delete"
headers = {"X-API-Key": "<api-key>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.salessequencer.com/api/v1/mailboxes/{mailbox_id}/delete', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));