Skip to content

Delete a contact list

DELETE
/v1/contact-lists/{list_id}
curl --request DELETE \
--url https://api.vocapable.com/v1/contact-lists/example \
--header 'Authorization: Bearer <token>'

Drop the list and its memberships. The contacts on it are untouched.

Refused while a campaign still targets it: the campaign’s configuration is what its calls were made under, and a target that could be deleted out from under a finished campaign would break the record of who it was run against.

list_id
required
List Id
string

Successful Response

Validation Error

Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
input
Input
ctx
Context
object
Examplegenerated
{
"detail": [
{
"loc": [
"example"
],
"msg": "example",
"type": "example",
"input": "example",
"ctx": {}
}
]
}