---
title: "POST /bundles/{bundle_id}/groups"
method: POST
path: "/bundles/{bundle_id}/groups"
tags: ["bundles"]
---

# POST /bundles/{bundle_id}/groups

`POST /bundles/{bundle_id}/groups`

Adds a group to a bundle.

## Path parameters

- `bundle_id` string, uuid, required

## Request body

- object
  - `group_id` string, uuid, required — The ID of the group to add.
  - `access_level_remote_id` string — The remote ID of the access level to grant to this user. Required if the group being added requires an access level. If omitted, the default access level remote ID value (empty string) is used.
  - `access_level_name` string — The name of the access level to grant to this user. If omitted, the default access level name value (empty string) is used.

## Response `201`

Group was successfully added to the bundle.

- BundleGroup
  - `bundle_id` string, uuid — The ID of the bundle containing the group.
  - `group_id` string, uuid — The ID of the group within a bundle.
  - `access_level_name` string — The access level of the group within a bundle.
  - `access_level_remote_id` string — The remote ID of the access level of the group within a bundle.

---

[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)
