Skip to main content
DELETE
/
contact-lists
/
{contactListId}
curl --request DELETE \
  --url https://api.autosend.com/v1/contact-lists/60d5ec49f1b2c72d9c8b4567 \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "message": "Contact list successfully deleted."
}
curl --request DELETE \
  --url https://api.autosend.com/v1/contact-lists/60d5ec49f1b2c72d9c8b4567 \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "message": "Contact list successfully deleted."
}

Authorizations

Authorizations
string | header
required
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

contactListId
string
required
The unique identifier of the contact list to delete.Example: "60d5ec49f1b2c72d9c8b4567"
You cannot delete a contact list that is currently used in active workflows. Remove the list from all workflows before deleting.

Response

Contact list deleted successfully
success
boolean
Indicates if the request was successfulExample: true
message
string
Confirmation messageExample: "Contact list successfully deleted."