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

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: OK

{&quot;attachment&quot;:{&quot;content_type&quot;:&quot;application/binary&quot;,&quot;content_url&quot;:&quot;https://company.zendesk.com/attachments/myfile.dat&quot;,&quot;file_name&quot;:&quot;myfile.dat&quot;,&quot;id&quot;:498483,&quot;size&quot;:2532,&quot;thumbnails&quot;:[],&quot;url&quot;:&quot;https://company.zendesk.com/api/v2/attachments/498483.json&quot;}}