---
title: "POST /groups/{group_id}/containing-groups"
method: POST
path: "/groups/{group_id}/containing-groups"
tags: ["groups"]
---

# POST /groups/{group_id}/containing-groups

`POST /groups/{group_id}/containing-groups`

Creates a new containing group.

## Path parameters

- `group_id` string, uuid, required

## Request body

- GroupContainingGroup — # GroupContainingGroup Object ### Description The `GroupContainingGroup` object is used to represent a relationship between a group and a group.
  - `containing_group_id` string, uuid, required — The groupID of the containing group.
  - `duration_minutes` integer — The updated duration for which the group can be accessed (in minutes). Use 0 for indefinite.
  - `access_level_remote_id` string — The updated remote ID of the access level granted to this group.

## Response `200`

The created `GroupContainingGroup` object.

- GroupContainingGroup — # GroupContainingGroup Object ### Description The `GroupContainingGroup` object is used to represent a relationship between a group and a group.
  - `containing_group_id` string, uuid, required — The groupID of the containing group.
  - `duration_minutes` integer — The updated duration for which the group can be accessed (in minutes). Use 0 for indefinite.
  - `access_level_remote_id` string — The updated remote ID of the access level granted to this group.

---

[API](https://skmtc.net/opal/apis/opal-api.md) · [All operations](https://skmtc.net/opal/apis/opal-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/opal/opal-api/versions/13b58df96d40/schema)
