---
title: "Update an invitation"
method: PUT
path: "/2/drive/{drive_id}/users/invitation/{invitation_id}"
tags: ["Drive > Invitations"]
---

# Update an invitation

`PUT /2/drive/{drive_id}/users/invitation/{invitation_id}`

Update information pertaining to an invitation identified by its invitation id

## Path parameters

- `drive_id` integer, required
- `invitation_id` integer, required

## Request body

- object
  - `email` string — Email
  - `message` string
  - `name` string — Name of the resource `{name}`
  - `right` 'manage' | 'none' | 'read' | 'write' — 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>
  - `role` 'admin' | 'user' — Administration level of the user.<note><strong>admin</strong>: Administrator of the drive, can manage the drive (settings, invitations and users) and the files.</note><note><strong>user</strong>: Internal user can invite user and manage the files of his private directory and other directories with manage file access.</note>

## Response `200`

OK

- object
  - `result` 'success' | 'error' | 'asynchronous', required — Result of the HTTP request
  - `data` boolean

## Other responses

- `400` — Invitation is already accepted
- `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)
