API referenceAutomations

Delete an automation

DELETE
/v1/automations/{id}

Hard delete the automation and its enrollments.

Authorization

bearerAuth
headerAuthorizationBearer <token>

API key sent as Authorization: Bearer <key>. Looked up by SHA-256 hash (email_core::sha256_hex) against api_keys.hash; revoked keys and keys belonging to a suspended tenant are rejected. See the top-level Authentication section for permission levels.

Path Parameters

id*string

Response Body

Deleted.

application/json
  1. response
deleted?true
Value intrue
id?string
curl -X DELETE "https://example.com/v1/automations/string"
{  "deleted": true,  "id": "string"}