Delete a bulk of customers
Delete a bulk of customers from your company.
PUT customers/delete/bulk
Request details
The put request will contain all the required information to delete a bulk of customers
Request properties
| Property | Type | Description | Optional |
|---|---|---|---|
| CustomerId [] | Guid [] | An array of unique identifiers of customers. | No |
Example bulk delete customers request
[
"00000000-0000-0000-0000-000000000000",
"00000000-0000-0000-0000-000000000000",
"00000000-0000-0000-0000-000000000000",
"{customer-guid}"
]
Response
Upon successful delete of a bulk of customers in the Basecone system, a 200 http status code will be returned.
If something goes wrong, an error message with failure details will be given together with a suitable http error status code.
Possible error responses
| Status code | Error code | Details |
|---|---|---|
| 400 | json_parse_error | Unable to parse JSON. |
| 400 | invalid_request_payload | One or more customers Id are empty |
| 403 | Forbidden | User is not allowed to customer company |
| 404 | Not Found | The requested resource is not found. |
