Actions11
Delete Attachment
AI-generatedOverview
This node operation deletes an attachment from a specified ticket in ManageEngine ServiceDesk Plus. It is useful for managing ticket attachments by removing outdated or incorrect files. For example, if a user uploads a wrong document to a ticket, this operation can be used to delete that attachment.
Use Case Examples
- Deleting an attachment from a ticket to free up storage or remove sensitive information.
- Removing an obsolete file attached to a support request.
Properties
| Name | Meaning |
|---|---|
| Attachment ID | ID of the attachment to delete, required to identify which attachment to remove. |
Output
JSON
success- Indicates if the deletion was successful (true or false).ticketId- ID of the ticket from which the attachment was deleted.attachmentId- ID of the deleted attachment.message- Confirmation message indicating successful deletion.error- Error message if the deletion failed.
Dependencies
- Requires ManageEngine ServiceDesk Plus API credentials including base URL and authentication token.
Troubleshooting
- Common issues include invalid or missing attachment ID, incorrect ticket ID, or insufficient permissions to delete attachments.
- Errors may occur if the attachment does not exist or the API credentials are invalid. Verify the attachment ID and ticket ID are correct and that the API token has the necessary permissions.