---
title: "Reads an access group"
method: GET
path: "/v1/access-groups/{idOrName}"
tags: ["access-groups"]
---

# Reads an access group

`GET /v1/access-groups/{idOrName}`

Allows to read an access group

## Path parameters

- `idOrName` string, required

## Query parameters

- `teamId` string
- `slug` string

## Response `200`

- object
  - `teamPermissions` string[]
  - `entitlements` string[]
  - `isDsyncManaged` false | true, required
  - `name` string, required — The name of this access group.
  - `createdAt` string, required — Timestamp in milliseconds when the access group was created.
  - `teamId` string, required — ID of the team that this access group belongs to.
  - `updatedAt` string, required — Timestamp in milliseconds when the access group was last updated.
  - `accessGroupId` string, required — ID of the access group.
  - `membersCount` number, required — Number of members in the access group.
  - `projectsCount` number, required — Number of projects in the access group.
  - `teamRoles` string[] — Roles that the team has in the access group.

## Other responses

- `400` — One of the provided values in the request query is invalid.
- `401` — The request is not authorized.
- `403` — You do not have permission to access this resource.
- `410`

---

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