cURL
curl --request POST \ --url https://api.fireworks.ai/v1/accounts/{account_id}/batchJobs/{batch_job_id}:cancel \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{}'
{}
Cancels an existing batch job if it is queued, pending, or running.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The Account Id
The Batch Job Id
A successful response.
The response is of type object.
object
Was this page helpful?