> For the complete documentation index, see [llms.txt](https://dev.guardian.hedera.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://dev.guardian.hedera.com/guardian/standard-registry/policies/policy-creation/apis-for-asynchronous-execution/returns-a-list-of-groups-the-user-is-a-member-of..md).

# Returns a list of groups the user is a member of.

<mark style="color:green;">`GET`</mark> `/policies/{policyId}/groups`

Returns a list of groups the user is a member of.

**Headers**

| Name          | Value              |
| ------------- | ------------------ |
| Content-Type  | `application/json` |
| Authorization | `Bearer <token>`   |

**Body**

| Name         | Type   | Description           |
| ------------ | ------ | --------------------- |
| policyId     | string | Policy Identifier     |
| savepointIds | string | Savepoint Identifiers |

**Response**

{% tabs %}
{% tab title="200" %}

```json5
{
  description: Successful operation.
          content:
            application/json:
              schema:
                type: object
}
```

{% endtab %}

{% tab title="401" %}

```json5
{
  description: Unauthorized.
}
```

{% endtab %}

{% tab title="403" %}

```json5
{
description: Forbidden.
}
```

{% endtab %}

{% tab title="500" %}

```json5
{
description: Internal server error.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServerErrorDTO'
  }
```

{% endtab %}
{% endtabs %}
