---
title: "Edit an Access Group"
method: PUT
path: "/v1/accessGroups/{id}"
tags: ["Access Groups"]
---

# Edit an Access Group

`PUT /v1/accessGroups/{id}`

Edit an [access group's](https://developers.tetrascience.com/docs/managing-organization-details#configure-data-access-rules-for-an-organization) name, description, status, and [data access rules](https://developers.tetrascience.com/docs/managing-organization-details#create-access-groups).

## Path parameters

- `id` string, uuid, required

## 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 `200`

The updated access 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)
