User Tools

Site Tools


api:number:delete

API : Number Delete

Introduction

This request will delete the specified number.

If the number is part of a range, the entire range will be deleted.

Request

URL https://api.telecomx.dk/number/NUMBER_ID
Method DELETE
Access level RESELLER_ADMIN with PORTING feature or ADMIN.
Param NUMBER_ID Id of the number (E.164 format)

Query example

DELETE https://api.telecomx.dk/number/+4570305050

Response

Json object
success Boolean True on success

Example

{
  success: true
}

Errors

Error code Message Description
400 bad_request Number not found in request URI
409 _id Number is in use and cannot be deleted
409 range One or more numbers are in use and cannot be deleted
403 access_denied Insufficient access level
404 not_found Number not found
api/number/delete.txt · Last modified: 2023/10/30 20:45 by Per Møller

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki