curl -X POST "https://api.genlook.app/tryon/v1/batches/c4b1s2.../cancel" \
-H "x-api-key: gk_your_api_key"
Batches
Cancel Batch
Stop the items of a batch that have not started.
POST
/
tryon
/
v1
/
batches
/
{batchId}
/
cancel
curl -X POST "https://api.genlook.app/tryon/v1/batches/c4b1s2.../cancel" \
-H "x-api-key: gk_your_api_key"
Items that have not started fail with
BATCH_CANCELLED and are not charged. Items already running finish and are charged. Safe to call more than once. Returns the batch, like Get Batch; it ends as CANCELLED once its last running item is done.
string
required
From Create Batch.
curl -X POST "https://api.genlook.app/tryon/v1/batches/c4b1s2.../cancel" \
-H "x-api-key: gk_your_api_key"
Was this page helpful?

