---
title: "removeAllGroupRestrictionsFromContent"
canonical: "https://support.appfire.com/space/PSCONF/15303291/removeAllGroupRestrictionsFromContent"
format: markdown
---
> Macro (aura-html)

> Macro (table-plus)
> 
> |  |  |  |  |
> | --- | --- | --- | --- |
> | **Syntax** | removeAllGroupRestrictionsFromContent(pageId, groupName) | **Package** |  |
> | **Alias** |  | **Pkg Usage** |  |

## Description

> Macro (excerpt)
> 
> Removes all group restrictions on the page for the selected group

Removes all group restrictions on the page for the selected group

## Parameters

> Macro (table-plus)
> 
> | Parameter name | Type | Required | Description |
> | --- | --- | --- | --- |
> | pageId | Number | Yes | The ID of the page on which will be deleted group restrictions. |
> | groupName | String | Yes | The name of a group which has restrictions on the page. |

## Return Type

**Boolean (true/false)**

## Example

```javascript
removeAllGroupRestrictionsFromContent(11508, "confluence-users");
```

## See also

> Macro (contentbylabel)