Cancel campaign
This method allows you to cancel a campaign. Of course, you can only cancel delayed campaigns.
DELETE
/send/:id
Examples
DELETE /send/14723355 HTTP/1.1
Host: api.smsup.ch
Accept: application/json
Authorization: Bearer your.token
Result Format
{
"status": 1,
"message": "OK",
"credits": 642, //Your credits after your campaign has been cancelled
}
<response>
<status>1</status>
<message>OK</message>
<credits>642</credits>
</response>