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

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

> Macro (details)
> 
> | **Description** | Remove permissions from page or space. A permission of @all can be used. For page permissions, use space and title or page id. Valid page permissions are: [View, Edit]. Valid space permissions are: [VIEWSPACE, REMOVEOWNCONTENT, EDITSPACE, REMOVEPAGE, EDITBLOG, REMOVEBLOG, CREATEATTACHMENT, REMOVEATTACHMENT, COMMENT, REMOVECOMMENT, SETPAGEPERMISSIONS, REMOVEMAIL, EXPORTSPACE, SETSPACEPERMISSIONS]. Group or userId can also be a comma separated list of groups and users. |
> | --- | --- |
> | **Required Parameters** | [space](https://appfire.atlassian.net/wiki/spaces/CSOAP/pages/68459481), [permissions](https://appfire.atlassian.net/wiki/spaces/CSOAP/pages/68454925), (([title](https://appfire.atlassian.net/wiki/spaces/CSOAP/pages/68457665) and [id](https://appfire.atlassian.net/wiki/spaces/CSOAP/pages/68454565)) or ([group](https://appfire.atlassian.net/wiki/spaces/CSOAP/pages/68459001) and [userId](https://appfire.atlassian.net/wiki/spaces/CSOAP/pages/68459187))) |
> | **Optional Parameters** | [children](https://appfire.atlassian.net/wiki/spaces/CSOAP/pages/68455007), [descendents](https://appfire.atlassian.net/wiki/spaces/CSOAP/pages/68458756) |
> | **Type** | [Delete](https://appfire.atlassian.net/wiki/spaces/CSOAP/pages/68455033/Action+Types#ActionTypes-Delete) |
> | **Category** | [Permissions](https://appfire.atlassian.net/wiki/spaces/CSOAP/pages/68455044/Action+Categories#ActionCategories-Permissions) |
> | **Output Formats** |  |
> | **Replacement Variables** |  |
> | **Hosting** | cloud,server,datacenter |
> | **Since Version** |  |
> | **Examples** | [removePermissions](https://appfire.atlassian.net/wiki/spaces/CSOAP/pages/68458176/Examples#Examples-removePermissions) |

## Related How To's

> Macro (cql-query)