Skip to main content
DELETE
/
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>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.onenumber.africa/llms.txt

Use this file to discover all available pages before exploring further.

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.