---
title: "addLabels"
canonical: "https://support.appfire.com/space/CSOAP/68458432/addLabels"
format: markdown
---
> Macro (aura-html)

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

> Macro (details)
> 
> | **Description** | Add labels to a page, blog, space, or attachment. For an attachment, provide either the attachment numeric id or the attachment name together with a content id or space and title. |
> | --- | --- |
> | **Required Parameters** | ([space](https://appfire.atlassian.net/wiki/spaces/CSOAP/pages/68459481) or [id](https://appfire.atlassian.net/wiki/spaces/CSOAP/pages/68454565)), [labels](https://appfire.atlassian.net/wiki/spaces/CSOAP/pages/68457649) |
> | **Optional Parameters** | [title](https://appfire.atlassian.net/wiki/spaces/CSOAP/pages/68457665), [name](https://appfire.atlassian.net/wiki/spaces/CSOAP/pages/68459513), [version](https://appfire.atlassian.net/wiki/spaces/CSOAP/pages/68454985), [dayOfMonth](https://appfire.atlassian.net/wiki/spaces/CSOAP/pages/68454853), [month](https://appfire.atlassian.net/wiki/spaces/CSOAP/pages/68458131), [year](https://appfire.atlassian.net/wiki/spaces/CSOAP/pages/68457695) |
> | **Type** | [Create](https://appfire.atlassian.net/wiki/spaces/CSOAP/pages/68455033/Action+Types#ActionTypes-Create) |
> | **Category** | [Labels](https://appfire.atlassian.net/wiki/spaces/CSOAP/pages/68455044/Action+Categories#ActionCategories-Labels) |
> | **Output Formats** |  |
> | **Replacement Variables** |  |
> | **Hosting** | cloud,server,datacenter |
> | **Since Version** |  |
> | **Examples** | [addLabels](https://appfire.atlassian.net/wiki/spaces/CSOAP/pages/68458176/Examples#Examples-addLabels) |

## Related How To's

> Macro (cql-query)