English
Delete Custom Object
About 144 wordsLess than 1 minute
2026-01-29
Description
Delete a custom object.
Request Specification
HTTP Method :POST + application/json
Request Path :https://${cloud domain}/cgi/crm/custom/v2/data/delete?thirdTraceId=${random string}
Request Headers :Refer to Common Parameters
This API only applies to custom objects (objects whose ApiName ends with __c)
Request Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| data | Map | Yes | Data MAP |
| idList | List | Yes | List of data IDs (Please void the data before deletion) |
| dataObjectApiName | String | Yes | Object's api_name |
Request Example
{
"data": {
"idList": [],
"dataObjectApiName": ""
}
}Response Parameters
| Parameter | Type | Description |
|---|---|---|
| traceId | string | Unique request ID |
| errorDescription | string | Error description |
| errorMessage | string | Error message |
| errorCode | Int | Error codes reference |
Response Example
{
"traceId": "E-O.827xxxxxx",
"errorDescription": "success",
"errorMessage": "OK",
"errorCode": 0
}Notes
- Do not use the message field in the response for logical judgment, as errorMessage may change;
