Przejdź do głównej treści
DELETE
/
api
/
v1
/
campaigns
/
{campaignKey}
Usuń kampanię
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": {}
}

Autoryzacje

X-API-Key
string
header
wymagane

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

Parametry ścieżki

campaignKey
string
wymagane

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

Odpowiedź

Usunięto