Update Attachment for Malware
PUT {{baseUrl}}/api/v2/attachments/:attachment_id
Toggles enabling or restricting agent access to attachments with detected malware.
Allowed For
- Admins
Request Body
{"attachment"=>{"malware_access_override"=>"<boolean>"}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"attachment":{"content_type":"application/binary","content_url":"https://company.zendesk.com/attachments/myfile.dat","file_name":"myfile.dat","id":498483,"size":2532,"thumbnails":[],"url":"https://company.zendesk.com/api/v2/attachments/498483.json"}}