Unassign a mailbox from a campaign
curl --request POST \
--url https://api.salessequencer.com/api/v1/campaigns/{campaign_id}/mailboxes/remove \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"mailbox_id": 123
}
'import requests
url = "https://api.salessequencer.com/api/v1/campaigns/{campaign_id}/mailboxes/remove"
payload = { "mailbox_id": 123 }
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({mailbox_id: 123})
};
fetch('https://api.salessequencer.com/api/v1/campaigns/{campaign_id}/mailboxes/remove', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));Campaigns
Unassign a mailbox from a campaign
Removes one mailbox from the campaign’s assignment (the mailbox itself is kept). If it was the last assigned mailbox the campaign falls back to all active workspace mailboxes. A missing or non-numeric mailbox_id does nothing.
Minimum role: edit (x-min-role). Destructive: false (x-destructive).
POST
/
campaigns
/
{campaign_id}
/
mailboxes
/
remove
Unassign a mailbox from a campaign
curl --request POST \
--url https://api.salessequencer.com/api/v1/campaigns/{campaign_id}/mailboxes/remove \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"mailbox_id": 123
}
'import requests
url = "https://api.salessequencer.com/api/v1/campaigns/{campaign_id}/mailboxes/remove"
payload = { "mailbox_id": 123 }
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({mailbox_id: 123})
};
fetch('https://api.salessequencer.com/api/v1/campaigns/{campaign_id}/mailboxes/remove', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));