Batches
Pause or Resume a Batch
Changed onPause a pending batch or resume a paused batch. Send paused to pause a batch that is currently pending, or pending to resume a batch that is currently paused. Any other transition returns a 409.
patch/batches/{batch_token}
Request
- Base URLhttps://sandbox.alloy.co/v1
- Auth
- OAuth 2Client credentialsToken URL/oauth/bearer
- or HTTP basic
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"batch_status": "paused"
}Response
Batch status updated
Example response
{
"status_code": 200,
"error": null,
"batch_token": "B-grYZsEoy623M3LiZrK66",
"batch_status": "paused",
"_links": {
"batch": {
"href": "/batches/B-grYZsEoy623M3LiZrK66"
}
}
}Changes
- info
endpoint added
- info