DELETE
/{orgId}/{itemId}/jobs/{jobId}/attachments/{attachmentId}
Deletes an attachment associated with a job. The jobUpdateAttachments privilege is required to delete attachments on a job.
Query parameters
Name | Type | Required |
---|---|---|
token | string¦null |
Path parameters
Name | Type | Required |
---|---|---|
job | string | |
attachment | string | |
org | string | |
item | string |
Response status
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | success | Success |
400 | Bad Request | error | WorkflowExceptionDTO |
Examples
Request
# You can also use wget
curl -X DELETE /{orgId}/{itemId}/jobs/{jobId}/attachments/{attachmentId} \
-H 'Authorization: Bearer <YOUR_TOKEN>'
Response
{
"success": true
}