# Delete a Job

To delete, a job must have a state of *UploadComplete*, *JobComplete*, *Aborted*, or *Failed*. When you delete a job, the stored job data is also deleted and its metadata is removed.

- URI

  - : /api/v1/ingest/jobs/{id}

- Available since release

  - : Data 360 v1.0, Salesforce v51.0

- Formats

  - : JSON

- HTTP methods

  - : DELETE

- Authentication

  - : `Authorization: Bearer {access_token}`

- Request body

  - : None required.

- Request parameters

  - :
    | Parameter | Description                                                                                                                                                                    |
    | --------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
    | id        | The job id that is returned in the response body from the [Create a Job](/docs/data/data-cloud-int/references/data-cloud-ingestionapi-ref/c360-a-api-create-a-job.md) request. |

- Response body

  - : Returns a status code of 204 (No Content), which indicates that the job was successfully deleted.

## Example

```nolang
curl --location --request DELETE \
'https://{instance_url}/api/v1/ingest/jobs/{id}' \
--header 'Authorization: Bearer {access_token}'

HTTP/1.1 204 No Content
```

## Usage Notes

When a job is deleted, job data stored by Salesforce is also deleted and job metadata information is removed. You can no longer discover the job in [Get Job Info](/docs/data/data-cloud-int/references/data-cloud-ingestionapi-ref/c360-a-api-get-job-info.md) or [Get All Jobs](/docs/data/data-cloud-int/references/data-cloud-ingestionapi-ref/c360-a-api-get-all-jobs.md).

If your data contains special characters, make sure to enclose it in quotation marks.
