Delete a Job

To be deleted, a job must have a state of UploadComplete, JobComplete, Aborted, or Failed. When a job is deleted, the stored job data is also deleted and its metadata is removed.
URI
/api/v1/ingest/jobs/{id}
Available since release
Data Cloud 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 request.
Response body

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

Example

1curl --location --request DELETE '
2https://{instance_url}/api/v1/ingest/jobs/{id}' \
3--header 'Authorization: Bearer {access_token'
4
5HTTP/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 or Get All Jobs.