Delete a list
Permission
lists:writeRate limit writesIdempotent with Idempotency-KeySubscriptions go with it; contacts stay.
Authorization
ESTAGE-API-KeystringheaderrequiredA project key, est_live_…, from Settings → API keys. Call from server code only.
Path parameters
idintegerrequiredHeaders
Idempotency-Keystring≤ 255 charsAny unique string per attempt. A retry with the same key gets the first answer back instead of doing the work twice.
RequestcURL
curl --request DELETE \ --url 'https://api.estage.com/v1/lists/list-id' \ --header 'ESTAGE-API-Key: est_live_your-api-key' \ --header 'Idempotency-Key: your-unique-key'
OK
{
"data": {
"id": 7,
"deleted": true
}
}Example. Errors are
{ error: { code, message, details } }.