3.3 Delete Contact

Brief description:

Delete contact

Request URL:

-https://telopenapi.quanshi.com/tel-conference/deal/v1/address/delete

Request method:

POST

Request Parameter:

Parameter Name Required Type Description
userId Yes Int G-Net user Id, currently it must be super admin of the customer
phoneList no arrayList Contact list to be deleted, delete all if the list is null and delete based on phone numbers if the list has value, max 500

Request parameter example

{
  "userId": 6135684,
  "phoneList": [
    {
      "phone": "18115675740"
    },
    {
      "phone": "18115675741"
    },
    {
      "phone": "59933637"
    },
    {
      "phone": "59933634"
    },
    {
      "phone": "59933635"
    }
  ]
}

Curl Request:

 curl -l -H "Content-type:application/json" -X POST -d '{"userId":2258811,"phoneList":[{"phone":"18115675740"}]}' -k --cert /d/cer/qs.deal.20220715/qs.deal.client_cert.pem --key /d/cer/qs.deal.20220715/qs.deal.client_key.pem https://telopenapi.quanshi.com/tel-conference/deal/v1/address/delete

Parameters: phoneList

Parameter Name Type Description
phone String Phone number, should be fully matched, and identical with imported contactPhone

Return parameter description:

Parameter Name Type Description
code Int Response Status value
msg String Error description
requestId String Request id, G-Net use this parameter to trace the request

Response example

{
"code": 0 ,
"msg":"Operation_Succeeded",
"requestId" : "7bf63bab-5a00-fd0d-9d23-5cd102932b5a"
}