取消批处理

Cancels an in-progress batch. The batch will be in status `cancelling` for up to 10 minutes, before changing to `cancelled`, where it will have partial results (if any) available in the output file.

post
Authorizations
x-portkey-api-keystringRequired
x-portkey-virtual-keystringRequired
Path parameters
batch_idstringRequired

The ID of the batch to cancel.

Responses
200

Batch is cancelling. Returns the cancelling batch's details.

application/json
post
/batches/{batch_id}/cancel
200

Batch is cancelling. Returns the cancelling batch's details.

Last updated