Delete a suppression group by ID using the AutoSend API.
curl --request DELETE \
--url 'https://api.autosend.com/v1/suppression-groups/AB12C3' \
--header 'Authorization: Bearer <token>'
{
"success": true,
"message": "Suppression group deleted successfully."
}
curl --request DELETE \
--url 'https://api.autosend.com/v1/suppression-groups/AB12C3' \
--header 'Authorization: Bearer <token>'
{
"success": true,
"message": "Suppression group deleted successfully."
}
<token>, where <token> is your auth token.Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The unique identifier of the suppression group to delete.
"AB12C3"
curl --request DELETE \
--url 'https://api.autosend.com/v1/suppression-groups/AB12C3' \
--header 'Authorization: Bearer <token>'
{
"success": true,
"message": "Suppression group deleted successfully."
}