Skip to content

deleteAttachment

DELETE
Use dark colors for code blocksCopy
1
/{orgId}/{itemId}/jobs/{jobId}/attachments/{attachmentId}
Delete an embedded or a linked attachment on a job

Deletes an attachment associated with a job. The jobUpdateAttachments privilege is required to delete attachments on a job.

Query parameters

NameTypeRequired
tokenstring¦null

Path parameters

NameTypeRequired
jobIdstring
attachmentIdstring
orgIdstring
itemIdstring

Response status

StatusMeaningDescriptionSchema
200OK

success

Success
400Bad Request

error

WorkflowExceptionDTO

Examples

Request

Use dark colors for code blocksCopy
1
2
3
# You can also use wget
curl -X DELETE /{orgId}/{itemId}/jobs/{jobId}/attachments/{attachmentId} \
  -H 'Authorization: Bearer <YOUR_TOKEN>'

Response

Use dark colors for code blocksCopy
1
2
3
{
  "success": true
}

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.