Skip to content

Remove an attachment from an incident.

DELETE
/v1/incidents/{incident_id}/attachments/{file_id}
curl --request DELETE \
--url https://api.adversarial.com/api/v1/incidents/INC-00001/attachments/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0

Detaches the file from this incident only. Other records and comments referencing the same file are unaffected and can still download it.

incident_id
required
string

The ID of the incident — INC-00001 (case-insensitive) or a bare number

Example
INC-00001
file_id
required
string format: uuid

The attachment’s id.

Attachment detached from this incident

Missing incidents:write permission

Attachment not found on this incident