Delete a job

DELETE /api/v1/jobs/{job}

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

Path parameters

  • job string Required

    The ID of the desired job (e.g., jb_jsb9KEcTpc).

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
    • deleted boolean
    • deleted_at integer

      Unix timestamp (seconds since epoch) of when the job was deleted.

    • id string

      The job ID.

    • object string

      Default value is job.

DELETE /api/v1/jobs/{job}
curl \
 --request DELETE 'https://api.1099policy.com/api/v1/jobs/jb_jsb9KEcTpc'
Response examples (200)
{
  "id": "jb_jsb9KEcTpc",
  "object": "job",
  "deleted": true,
  "deleted_at": 1640995200
}