Comment on page
Delete Destination Priority
This method allows you to remove destination priorities for phone numbers.
Authentication is done by passing your TSG Global API key via the Authorization header in the format "Authorization: Bearer <api_key>"
delete
https://api-service.tsgglobal.world/v1/did/priority
Delete a destination priority associated with a phone number.
curl -n https://api-service.tsgglobal.world/v1/did/priority -XDELETE -H "Authorization: Bearer <api_key>" \
-H "Content-Type: application/json" -d '{
"did": "12003004000",
"priority": 2
}'
-1000
Invalid or Blank API Key-1003
Invalid or No DID Provided-1004
Invalid or No Priority Provided-1007
Priority Does NOT Exists, Delete an already created priority.-1008
Deleted Priority from Routing.-1010
Can not Delete Priority 1, Please Submit a DID cancel request.
Good to know: message scheduling can be specified for up to 2 years in advance. We guarantee up to the minute accuracy.
Last modified 11mo ago