Delete a batch safely
DELETE/platform/solutions/api/v1/orgs/{orgId}/batches/{batchId}
Delete a batch by ID.
Only batches with IsEnabled = false can be deleted.
Usage
DELETE orgs/{orgId}/batches/{batchId}
Parameters
batchId(Guid, required): the ID of the batch.
Responses
204 No Content: batch successfully deleted.400 Bad Request: batch is enabled and cannot be deleted.403 Forbidden: user not allowed to delete the batch.404 Not Found: batch not found.
Security
This API requires authentication.
Request
Responses
- 204
- 400
- 403
- 404
Batch successfully deleted
Batch is enabled or request invalid
Forbidden to delete this batch
Batch not found