User Tools

Site Tools


api:destination:special:delete

API : Special destination Delete

Introduction

This request will delete the specified special destination.

Request

URL https://api.telecomx.dk/destination/special/PREFIX
Method DELETE
Access level RESELLER_ADMIN with FINANCE feature, or ADMIN.
Param PREFIX Prefix (id) of the special destination, e.g. +4590123456. The + must be URL encoded as %2B.

Query example

DELETE https://api.telecomx.dk/destination/special/%2B4590123456

Response

Json object
success Boolean True on success

Example

{
  "success": true
}

Errors

Error code Message Description
422 id Prefix is not valid
404 not_found Special destination not found
403 access_denied Insufficient access level
500 internal_error <Unspecified>
api/destination/special/delete.txt · Last modified: by Mikkel Meerwaldt Jørgensen

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki