Delete a job

DELETE /api/v1/jobs/{job_id}

Delete a job. Deleting a job is only possible if it has no insurance policies associated with it.

application/json

Body

  • job string

    The ID of the job to delete.

Responses

  • 200 application/json

    Returns an object with a deleted parameter on success. Otherwise, this call returns an error.

    Hide response attributes Show response attributes object
DELETE /api/v1/jobs/{job_id}
curl \
 -X DELETE https://api.1099policy.com/api/v1/jobs/{job_id} \
 -H "Content-Type: application/json" \
 -d '{"job":"jb_jsb9KEcTpc"}'
Request example
{
  "job": "jb_jsb9KEcTpc"
}
Response examples (200)
{
  "deleted": true,
  "deleted_at": "(utcnow)",
  "id": "jb_jsb9KEcTpc",
  "object": "job"
}