Enable or disable an existing batch
PUT/platform/solutions/api/v1/orgs/{orgId}/batches/{batchId}/status
Enable or disable a batch by its ID.
Usage
PUT orgs/{orgId}/batches/{batchId}/status
Parameters
batchId(Guid, required): the ID of the batch.
Request body
input(UpdateBatchIsEnabledDto, required): specifies theIsEnabledstatus.
Responses
200 OK: returns the updatedBatchDto.400 Bad Request: invalid request (missing or invalidisEnabled).403 Forbidden: org not allowed.404 Not Found: batch not found.
Security
This API requires authentication.
Request
Responses
- 200
- 400
- 403
- 404
Returns the updated BatchDto
Invalid input or missing isEnabled
Forbidden
Batch not found