---
title: "Add multi-access"
method: POST
path: "/2/drive/{drive_id}/files/{file_id}/access"
tags: ["Drive > Files > File/Directory > Access"]
---

# Add multi-access

`POST /2/drive/{drive_id}/files/{file_id}/access`

Add multi-access to file

## Path parameters

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

## Query parameters

- `with` string
- `lang` 'de' | 'en' | 'es' | 'fr' | 'it' | 'nl' | 'pt', required

## Request body

- object
  - `emails` string[]
  - `message` string, nullable
  - `right` 'manage' | 'none' | 'read' | 'write', required — Access level of {name}.<note><strong>manage</strong>: Can share, write and read the file.</note><note><strong>none</strong>: Can not act on the file.</note><note><strong>read</strong>: Can only read the file.</note><note><strong>write</strong>: Can write and read the file.</note>
  - `team_ids` integer[]
  - `user_ids` integer[]

## Response `200`

OK

- object
  - `result` 'success' | 'error' | 'asynchronous', required — Result of the HTTP request
  - `data` 91ac10ffFeedbackaccessresourceC3fdaa7f — unresolved $ref

## Other responses

- `400` — Permission denied
- `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/667aae28fec6/schema)
