Delete

DELETE /campaigns/:campaign

A Campaign is a message sent to multiple recipients. They can be destroyed when their state is either “scheduled” or “draft”. This will delete the Campaign entirely and will prevent any recipients from being attempted which will not affect the user’s quota.

Examples

Destroy a Campaign

Request

DELETE /campaigns/1zO27OO
Example
$ curl -i -H Accept:"application/vnd.textus+jsonld" \
    -H Authorization:"Bearer {token}" \
    -X DELETE /campaigns/1zO27OO
    

Response

Status

204

Response Type

No body


© 2024 TextUs