Anthony Collin-Nadeau
Anthony Collin-Nadeau

Reputation: 129

Twilio unable to delete a sms command watever the status of the command

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

Answers (1)

philnash
philnash

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

Related Questions