Remove Account from Public Pool
# Description
Remove an account from the public pool.
# Request Specification
Method: POST + application/json
Path: https://${cloud-domain}/cgi/crm/v2/data/remove?thirdTraceId=${Random String}
Headers: Refer to Common Parameters
# Request Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| data | Map | Yes | Data map |
| owner | String | No | Owner of the account data after removal from public pool. Can be obtained via collaboration APIs under v1 interface. Not required when isKeepOwner=true |
| isKeepOwner | Boolean | Yes | Whether to keep the original owner when removing from public pool. true means keeping the original owner |
| apiName | String | Yes | API name, can be AccountObj or LeadsObj |
| objectIDs | List | Yes | IDs of accounts to be removed. Can be obtained by filtering accounts in a specific public pool via account list API |
| objectPoolId | String | Yes | ID of the public pool. Can be obtained via public pool object query API |
# Request Example
{
"data": {
"owner": "FSUID_CBF44A3F942C4ABE8A46BE859066A5CD1",
"objectPoolId": "95a39b6bf2a64d288c692594e8d2627f",
"apiName": "AccountObj",
"isKeepOwner": false,
"objectIDs": [
"5cf7742adcd3ec000196557d"
]
}
}
# 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 response for logical judgment as errorMessage may change;