Delete a Job
To be deleted, a job must have a state of UploadComplete, JobComplete, Aborted, or
Failed. When a job is deleted, job data stored is also deleted and job metadata information is
removed.
Syntax
- URI
- /api/v1/ingest/jobs/{id}
- Available since release
- Salesforce CDP 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 returned in the response body from the Create 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