Delete DID Numbers
Delete one or more DID numbers.
Request URL
DELETE {base_url}/dm/open_api/v1/did_management
Request parameters
Headers
Body
parameters| Parameter | Required | Type | Description |
|---|---|---|---|
| Authorization | Yes | String | Pass the access token in the header. Format: Bearer {access_token}. |
| Parameter | Required | Type | Description |
|---|---|---|---|
| ids | Yes | Array <Integer> | The ID list of DID numbers. Note:
|
Response parameters
| Parameter | Type | Description |
|---|---|---|
| requestId | String | The unique ID of the request, which can be used to quickly locate the request. |
| status | String | Request result:
|
| time | Long | The response time. Note: The YCM API response returns a
timestamp, you can convert the timestamp to detailed
date and time as needed. For more information, see Convert Timestamp to Local Date and Time.
|
Example
Request example
Delete multiple DID numbers (ID: 50040-50043).DELETE /dm/open_api/v1/did_management HTTP/1.1 Host: ycm.yeastar.com Authorization: Bearer ****** Content-Type: application/json { "ids": [ 50043,50042,50041,50040 ] }Response example
HTTP/1.1 200 OK { "requestId": "e8ee6bb5fb76714c20f8a7bcf6d1bbe7", "status": "Success", "time": 1747029171 }