cURL
curl --request POST \ --url https://api.example.com/api/customers/validate-bulk-delete \ --header 'Authorization: <authorization>' \ --header 'Content-Type: application/json' \ --header 'organization-id: <organization-id>' \ --data ' { "ids": [ 1, 2, 3 ], "skipUndeletable": false } '
Value must be 'Bearer ' where is an API key prefixed with 'bc_' or a JWT token.
"Bearer bc_1234567890abcdef"
Required if Authorization is a JWT token. The organization ID to operate within.
Array of customer IDs to delete
[1, 2, 3]
When true, undeletable customers will be skipped and only deletable ones removed.
Validation completed. Returns counts and IDs of deletable and non-deletable customers.