Bulk Delete IP Phones

Delete multiple IP phones from the Auto Provisioning phone list at the same time.

Request URL

POST {base_url}/{api_path}/phone/batchdelete?access_token={access_token}

Request parameters

Parameter Required Type Description
batch_id_list Yes Array<Integer> The unique IDs of the auto provisioning IP phones.
Note:

Response parameters

Table 1.
Parameter Type Description
errcode Integer Returned error code.
  • 0: Succeed.
  • Non-zero value: Failed.
Note: You can check the error code and error message in Error Code and Error Message.
errmsg String Returned message.
  • SUCCESS: Succeed.
  • FAILURE: Failed.

Examples

Request example

POST /openapi/v1.0/phone/batchdelete?access_token=eDYA2BLibO6wjZMYak8exCBg49GTgYHl HTTP/1.1
Host: 192.168.5.150:8088
Content-Type: application/json
User-Agent: OpenAPI

{
	"batch_id_list": [75,90]
}

Response example

HTTP/1.1 200 OK
{
    "errcode": 0,
    "errmsg": "SUCCESS",
}