delete_attachment
Remove a specified attachment from a Pega case by validating user authentication and delete privileges. Updates case history upon successful deletion, removing only the specific link if the attachment is linked to multiple objects.
Instructions
Remove the specified attachment from a case. The API validates user authentication and privileges to delete the attachment based on attachment category configuration. Users can delete attachments they uploaded or any attachment of categories they have delete privileges for. After successful deletion, the case history is updated. If an attachment is linked to multiple Link-Attachment objects, only the specific link is removed.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
attachmentID | Yes | Full ID of the attachment to delete. Format example: "LINK-ATTACHMENT ONNS8O-TESTAPP-WORK B-2001!20211115T061748.900 GMT". This is the complete Link-Attachment instance pzInsKey that uniquely identifies the attachment in the Pega system. The attachment must exist and the user must have delete privileges for the attachment category. |