# Update batch
This endpoint cancels a given batch.
In order for a user to perform the "update_batch" operation, the "update_batch" permission must be included in the list of allowed actions in the statement of the user's role.
|string, value is ||body||Status denoting that the batch should be cancelled.|
|status||string, value can be ||Status of the batch. For more details, see the Batch statuses section.|
|created_ts||timestamp||Time at which the batch was created. Measured in seconds (to three decimal places) that have elapsed since the Unix epoch(opens new window).|
|updated_ts||timestamp||Time at which the batch was last updated. Measured in seconds (to three decimal places) that have elapsed since the Unix epoch(opens new window)|
|hash *||string||SHA-256 hash(opens new window).|
"hash" attribute is returned only if it was provided in the request to the create_batch endpoint.
# Status codes
Requests to this endpoint result in generic status codes. For a comprehensive list of status codes, please consult the Status codes section.