ParasendDocs
Sign in Start free

Cancel a batch

POST/v1/batches/{id}/cancel

Cancels a batch: revokes every delivery not yet confirmed, and closes the batch. Confirmed deliveries keep their evidence.

Path parameters

  • idstringrequired

    The batch's ID, starting bat_.

Returns

200 application/json. The cancelled batch, with how many deliveries were revoked and how many kept.

Errors have one shape; see Errors for every code.