---
title: "Get access"
method: GET
path: "/2/drive/{drive_id}/files/{file_id}/access/teams"
tags: ["Drive > Files > File/Directory > Access > Teams"]
---

# Get access

`GET /2/drive/{drive_id}/files/{file_id}/access/teams`

Show team that has access to the File|Directory

## Path parameters

- `drive_id` integer, required
- `file_id` integer, required

## Response `200`

OK

- object
  - `result` 'success' | 'error' | 'asynchronous', required — Result of the HTTP request
  - `data` 91ac10ffTeamFileAccess[]
    - `id` integer, required — Team File Access Identifier, can be team identifier, user identifier, invitation identifier
    - `access` string, required — Access type
    - `name` string, required — Team File Access name
    - `right` string, nullable, required — Access right
    - `color` integer, nullable, required — Access color
    - `status` 'accepted' | 'cancelled' | 'expired' | 'pending' | 'rejected', required — Status of access

## Other responses

- `403` — Forbidden
- `503` — Service Unavailable

---

[API](https://skmtc.dev/infomaniak/apis/api-reference-developer-tools.md) · [All operations](https://skmtc.dev/infomaniak/apis/api-reference-developer-tools/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/infomaniak/api-reference-developer-tools/revisions/158a854b0c7d/schema)
