Cancel batch of scheduled SMS
DELETE/api/v1/subaccounts/:subAccountId/messages/batch/:batchId
- Sending a DELETE request on this this endpoint allows to cancel a batch of scheduled messages that has not been sent yet.
- This method should be used to cancel a batch of scheduled messages sent by previously submitting a POST request to either the "many" or "many compact" endpoint.
- To cancel a batch of scheduled messages, use its batchId to target it.
URL
- In the original POST request used to schedule the batch of messages, you used a specific subaccountid and the API responded with a batchID.
- You need to use both as path parameters in order to send your DELETE request successfully as shown below:
https://sms.8x8.com/api/v1/subaccounts/{subAccountId}/messages/batch/{batchId}
You must replace
{subAccountId}and{batchId}in the URL above with the subaccountid you used to schedule the messages in the first place and the batchId you got in response.
Request
Responses
- 200
- 400
- 401
- 500
Bad request error response
Request was not authenticated response
Internal server error