User Management > Accounts > Invitations > Drive

Update drive access

Changed on

This API endpoint allows you to edit futurs rights into specified drive, for an invitation of a user in an account

patch/1/accounts/{account}/invitations/{invitation}/drive/{drive_id}

Request

  • Base URL
    https://api.infomaniak.com
  • URL
    https://api.infomaniak.com/1/accounts/{account}/invitations/{invitation}/drive/{drive_id}
  • Auth
    HTTP bearer

Path parameters

accountinteger required
invitationinteger required
drive_idstring required

Request body

right'manage' | 'none' | 'read' | 'write'
role'admin' | 'user'

Response

OK

result'success' | 'error' | 'asynchronous' required

Result of the HTTP request

Example response

{
  "result": "success",
  "data": {
    "language_id": 1,
    "locale": "fr_FR",
    "sent_at": 1745062007,
    "url_accept": "https://welcome.infomaniak.com/invitation/account/1234567890987654321?lang=fr"
  }
}

Changes

    • info

      added the optional property //// to the response with the status

    • info

      added the optional property //// to the response with the status

    • info

      added the optional property //// to the response with the status

    • info

      added the required property //// to the response with the status

    • info

      added the required property //// to the response with the status

    • info

      added the required property //// to the response with the status