Removes one or more contacts by their email addresses. Returns the IDs of the contacts that were successfully removed.
curl --request POST \
--url https://api.autosend.com/v1/contacts/remove \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"emails": [
"[email protected]"
]
}'
{
"success": true
}
curl --request POST \
--url https://api.autosend.com/v1/contacts/remove \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"emails": [
"[email protected]"
]
}'
{
"success": true
}
<token>, where <token> is your auth token.1Example: ["[email protected]"]truecurl --request POST \
--url https://api.autosend.com/v1/contacts/remove \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"emails": [
"[email protected]"
]
}'
{
"success": true
}