Attachments

Update Attachment for Malware

Toggles enabling or restricting agent access to attachments with detected malware.

Allowed For

  • Admins
put/api/v2/attachments/{attachment_id}

Path parameters

attachment_idinteger required

The ID of the attachment

Request body

Response

Success response

Example response

{
  "attachment": {
    "content_type": "image/png",
    "content_url": "https://company.zendesk.com/attachments/my_funny_profile_pic.png",
    "file_name": "my_funny_profile_pic.png",
    "id": 928374,
    "size": 166144,
    "thumbnails": [
      {
        "content_type": "image/png",
        "content_url": "https://company.zendesk.com/attachments/my_funny_profile_pic_thumb.png",
        "file_name": "my_funny_profile_pic_thumb.png",
        "id": 928375,
        "size": 58298
      }
    ]
  }
}

Changes