---
title: "Create a New Access Group"
method: POST
path: "/v1/accessGroups"
tags: ["Access Groups"]
---

# Create a New Access Group

`POST /v1/accessGroups`

Create a new [access group](https://developers.tetrascience.com/docs/managing-organization-details#configure-data-access-rules-for-an-organization).

## Request body

- CreateUpdateAccessGroup
  - `name` string, required — The name of the group.
  - `description` string, nullable — The description of the group.
  - `enabled` boolean, required — Indicates whether the group is enabled or not.
  - `rules` AttributeRuleConfiguration, required
  - `ssoGroupMappings` string[]

## Response `201`

The newly created group.

- AccessGroup
  - `id` string, uuid, required — The unique identifier of the group.
  - `name` string, required — The name of the group.
  - `description` string, nullable — The description of the group.
  - `orgSlug` string, required — The organization's slug to which the group belongs.
  - `enabled` boolean, required — Indicates whether the group is enabled or not.
  - `userIds` string[], nullable — List of user IDs associated with the group.
  - `rules` AttributeRuleConfiguration, required
  - `updatedAt` string, date-time, nullable
  - `createdAt` string, date-time, required

---

[API](https://skmtc.net/tetrascience/apis/tetra-data-lake.md) · [All operations](https://skmtc.net/tetrascience/apis/tetra-data-lake/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/tetrascience/tetra-data-lake/revisions/0205e2bace53/schema)
