ESTAGE Support
IdeasMy tickets

Delete a message

Permission messages:writeRate limit writesIdempotent with Idempotency-Key

Deletes the message. It is refused only while a system email of the project uses it (reset that system email to the default first). Broadcasts and automation steps that point at the message are not checked: a broadcast loses its message_id, and an automation step that sends it will fail the readiness check the next time the automation is activated or its graph is saved while live.

DELETEhttps://api.estage.com/v1/messages/{id}

Authorization

ESTAGE-API-Keystringheaderrequired

A project key, est_live_…, from Settings → API keys. Call from server code only.

Path parameters

idintegerrequired

Headers

Idempotency-Keystring≤ 255 chars

Any 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/messages/message-id' \
  --header 'ESTAGE-API-Key: est_live_your-api-key' \
  --header 'Idempotency-Key: your-unique-key'
OK
{
  "data": {
    "id": 311,
    "deleted": true
  }
}
Example. Errors are { error: { code, message, details } }.