Reputation: 129
The documentation of twilio say you can delete a command or a sms command if the status is sent or failed. But there is now explanation for the procedure.
I tried to delete by a call api to DELETE https://supersim.twilio.com/v1/Commands/{sid}...
The command didn't work.
here the documentation links
What is the way to delete some commands?
Upvotes: 1
Views: 97
Reputation: 73065
Twilio developer evangelist here.
It turns out this was a mistake in the documentation. There is not a DELETE
method for Commands or SmsCommands and that is why your attempt failed and why there are not methods for it in the Twilio helper libraries.
We are updating the docs now. Sorry for the inconvenience.
Upvotes: 1