Skip to main content
DELETE
https://staging.api.onenumber.africa/v1
/
message
/
{reference}
Delete a Message
curl --request DELETE \
  --url https://staging.api.onenumber.africa/v1/message/{reference} \
  --header 'Authorization: Bearer <token>'
{
  "statusCode": 123,
  "message": "<string>"
}
Only messages that have these statuses can be deleted: created, scheduled.

Request Path Parameters

reference
string
required
The reference of the Message.

Response Data

statusCode
int
The status of the response. The value will be 200 for a successful response.
message
string
The message (description) of the response.