Drive > Files > File/Directory > Access > Request

Create a new file access request

Changed on

Create a new file access request

post/2/drive/{drive_id}/files/{file_id}/access/requests

Request

  • Base URL
    https://api.infomaniak.com
  • URL
    https://api.infomaniak.com/2/drive/{drive_id}/files/{file_id}/access/requests
  • Auth
    HTTP bearer

Path parameters

drive_idinteger required

Drive identifier

file_idinteger required

File identifier

Query parameters

withstring

Optional : Allows loading additional data about a resource, which may include related resources.

Request body

messagestring nullable

Message provided by the requestor of new access

Response

OK

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

Result of the HTTP request

Example response

{
  "result": "success"
}

Changes

    • warning

      added the new forbidden_error enum value to the // response property for the response status

    • info

      added the non-success response with the status

    • warning

      the request property's maxLength was set to 10000