cURL
curl --request POST \ --url https://api.togai.com/jobs/{job_id}/reject \ --header 'Authorization: Bearer <token>'
{ "id": "job.20aUyEZSuYq.SoGbS", "type": "PRICE_PLAN", "updatedAt": "2080-10-04T00:00:00Z", "status": "COMPLETED", "totalJobEntries": 100, "pendingJobEntries": 40, "failedJobEntries": 20, "completedJobEntries": 40, "metadata": { "sourceId": "pp.njrjk314hfr", "targetId": "pp.rhk32h4dsfq" } }
Reject a job
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
"mig.20aUyEZSuYq.SoGbS"
Response for get job status request
The response is of type object.
object