Sorry, you need to enable JavaScript to visit this website.

You are here

Delete Subscription Endpoint

2 posts / 0 new
Last post

James's picture
by James

Delete Subscription Endpoint

Hi.

I'm not sure how the "DELETE https://tapi.telstra.com/v2/messages/provisioning/subscriptions" endpoint is supposed to work.

Are we meant to pass it the "destinationAddress" (i.e. provisioned/subscription mobile number) we want to delete?

If so, is that parameter passed through the body or URI?

Also, the "Send this request" button on the https://dev.telstra.com/messaging-api/apis/delete/messages/provisioning/... page doesn't work as the "DELETE …/subscriptions" endpoint looks like it's expecting JSON data to be passed with it. From that page, it currently returns a 500…

{"status": "500", "code": "TECH-ERR", "message": "Technical error : JSONThreatProtection[cp_JSONThreatProtection.DoSAEvaluation]: Execution failed. reason: Expecting { or [ at line 1 : An error has occurred while processing your request, please refer to API Docs for summary on the issue"}

Love where the Messaging API is going – thanks for all your hard work so far!

Cheers,

James

DeveloperSteve's picture
by DeveloperSteve

Hi jfureyt-dev, 
Hi jfureyt-dev,  The API is expecting there to be a json payload so you'll just need to send an empty payload {} Thank you for the feedback and stay tuned for more to come
Log in or register to post comments