Skip to content
Wazapin
Esc
navigateopen⌘Jpreview

Bulk action CRM custom object records

POST/v1/crm/custom-object-types/{objectKind}/records/bulk-action
Authorization
bearerAuthbearerAuthrequired
or
apiKeyAuthapiKeyAuthrequired
Path parameters
objectKindstringrequired
Request body
requiredapplication/json
actionstringrequired
Allowed:deleterestorepurgeupdate
attributesany
idsstring[] | nullrequired
Responses
200OK
actionstringrequired
failedCRMCustomObjectBulkActionFailure[] | nullrequired
Show properties
Array of CRMCustomObjectBulkActionFailure
idstringrequired
messagestringrequired
succeededstring[] | nullrequired
400Bad Request
errorErrorBodyrequired
Show properties
codestringrequired
detailsErrorDetail[] | null
Show properties
Array of ErrorDetail
codestring
fieldstring
locationstring
messagestringrequired
messagestringrequired
request_idstring
401Unauthorized
errorErrorBodyrequired
Show properties
codestringrequired
detailsErrorDetail[] | null
Show properties
Array of ErrorDetail
codestring
fieldstring
locationstring
messagestringrequired
messagestringrequired
request_idstring
403Forbidden
errorErrorBodyrequired
Show properties
codestringrequired
detailsErrorDetail[] | null
Show properties
Array of ErrorDetail
codestring
fieldstring
locationstring
messagestringrequired
messagestringrequired
request_idstring
404Not Found
errorErrorBodyrequired
Show properties
codestringrequired
detailsErrorDetail[] | null
Show properties
Array of ErrorDetail
codestring
fieldstring
locationstring
messagestringrequired
messagestringrequired
request_idstring
422Unprocessable Entity
errorErrorBodyrequired
Show properties
codestringrequired
detailsErrorDetail[] | null
Show properties
Array of ErrorDetail
codestring
fieldstring
locationstring
messagestringrequired
messagestringrequired
request_idstring
500Internal Server Error
errorErrorBodyrequired
Show properties
codestringrequired
detailsErrorDetail[] | null
Show properties
Array of ErrorDetail
codestring
fieldstring
locationstring
messagestringrequired
messagestringrequired
request_idstring
Request
curl -X POST "/v1/crm/custom-object-types/string/records/bulk-action" \
  -H "Content-Type: application/json" \
  -d '{
  "action": "delete",
  "attributes": "string",
  "ids": [
    "string"
  ]
}'
Response
{
  "action": "string",
  "failed": [
    {
      "id": "string",
      "message": "string"
    }
  ],
  "succeeded": [
    "string"
  ]
}