Skip to main content
DELETE
/
api
/
v1
/
campaigns
/
{campaignKey}
Delete a campaign
curl --request DELETE \
  --url https://api.railmail.app/api/v1/campaigns/{campaignKey} \
  --header 'X-API-Key: <api-key>'
{
  "type": "<string>",
  "title": "<string>",
  "status": 123,
  "detail": "<string>",
  "instance": "<string>",
  "timestamp": "2023-11-07T05:31:56Z",
  "errors": {}
}

Authorizations

X-API-Key
string
header
required

Project-scoped API key, format rm_(live|test)_... . May also be sent as Authorization: Bearer rm_....

Path Parameters

campaignKey
string
required

Campaign key (e.g. APIT-001).

Response

Deleted