---
title: "removeAttachment"
canonical: "https://support.appfire.com/space/JCLI/70782847/removeAttachment"
format: markdown
---
> Macro (aura-html)

See also: [Actions](https://appfire.atlassian.net/wiki/spaces/JCLI/pages/70787366)

> Macro (details)
> 
> | **Description** | Remove an attachment from an issue. A single attachment is removed by id or all attachments matching the file name. |
> | --- | --- |
> | **Required Parameters** | [issue](https://appfire.atlassian.net/wiki/spaces/JCLI/pages/70784877), ([name](https://appfire.atlassian.net/wiki/spaces/JCLI/pages/70784183) or [id](https://appfire.atlassian.net/wiki/spaces/JCLI/pages/70784857)) |
> | **Optional Parameters** |  |
> | **Type** | [Delete](https://appfire.atlassian.net/wiki/spaces/JCLI/pages/70780909/Action+Types#ActionTypes-Delete) |
> | **Category** | [Attachments](https://appfire.atlassian.net/wiki/spaces/JCLI/pages/70780591/Action+Categories#ActionCategories-Attachments) |
> | **Output Formats** |  |
> | **Replacement Variables** |  |
> | **Hosting** | cloud,server,datacenter |
> | **Since Version** |  |
> | **Examples** | [removeAttachment](https://appfire.atlassian.net/wiki/spaces/JCLI/pages/70782732/Examples#Examples-removeAttachment) |

## Related How To's

> Macro (cql-query)