Delete an Extension
Delete an extension, multiple extensions, or all extensions.
Request URL
{base_url}/{api_path}/extension/delete?token={token}
Request parameters
Parameter | Required | Type | Description |
---|---|---|---|
number | Yes | String | Extension number. Valid values:
|
Response parameters
Parameter | Type | Description |
---|---|---|
status | String | Request result.
|
Examples
Request example
Delete extension 1000.
POST /api/v2.0.0/extension/delete?token=7afa377107feb9566654d5dd3a9a2a93 Content-Type:application/json; charset=utf-8 Content-Length:37 Host: 192.168.5.150 { "number": "1000" }
Response example
HTTP/1.1 200 OK Server: Boa/0.94.14rc21 Accept-Ranges: bytes Connection: close Content-Type: application/json Access-control-allow-origin: * Access-control-allow-methods: GET, POST, OPTIONS, PUT, DELETE { "status": "Success" }