Skip to content

Delete a contact list

DELETE
/api/v2/flare/contact-lists/{id}
curl --request DELETE \
--url https://api.sipstack.com/api/v2/flare/contact-lists/example \
--header 'x-api-key: <x-api-key>'

Soft-deletes the list. Requires contacts:write. 404 when the list isn’t your organization’s.

id
required
string

List deleted.

Media type application/json
object
success
boolean
Example generated
{
"success": true
}

Missing or invalid API key.

Media type application/json

Inline error shape used by the messaging API and management endpoints.

object
success
boolean
error
string
Example
{
"success": false,
"error": "Recipient phone number (to) is required"
}

List not found in your organization.

Media type application/json

Inline error shape used by the messaging API and management endpoints.

object
success
boolean
error
string
Example
{
"success": false,
"error": "Recipient phone number (to) is required"
}