---
title: "GET /jobs/deletions/{id}"
method: GET
path: "/jobs/deletions/{id}"
tags: ["Jobs"]
---

# GET /jobs/deletions/{id}

`GET /jobs/deletions/{id}`

Retrieves a delete job.
Status codes:
* 200 OK
* 404 Not Found
  * DeleteJobNotFound - The delete job was not found.

## Path parameters

- `id` string, required

## Query parameters

- `api-version` string, required

## Response `200`

Success

- DeleteJob — A job which contains a reference to the operations to perform, results, and execution metadata.
  - `id` string — The identifier of the delete job.
  - `status` 'notstarted' | 'running' | 'failed' | 'succeeded' — Status of the job.
  - `createdDateTime` string, date-time — Start time of the job. The timestamp is in RFC3339 format: `yyyy-MM-ddTHH:mm:ssZ`.
  - `finishedDateTime` string, date-time — End time of the job. The timestamp is in RFC3339 format: `yyyy-MM-ddTHH:mm:ssZ`.
  - `purgeDateTime` string, date-time — Time at which job will be purged by the service from the system. The timestamp is in RFC3339 format: `yyyy-MM-ddTHH:mm:ssZ`.
  - `error` Error — Error definition.
    - `code` string — Service specific error code which serves as the substatus for the HTTP error code.
    - `message` string — A human-readable representation of the error.
    - `details` Error[] — Internal error details.
    - `innererror` InnerError — A more specific error description than was provided by the containing error.
      - `code` string — A more specific error code than was provided by the containing error.
      - `innererror` InnerError — recursive

## Other responses

- `default` — Default response.

---

[API](https://skmtc.net/azure/apis/digitaltwins-digitaltwins.md) · [All operations](https://skmtc.net/azure/apis/digitaltwins-digitaltwins/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/azure/digitaltwins-digitaltwins/revisions/8d81dcdaf9a2/schema)
