Infomaniak Kdrive icon

Infomaniak Kdrive

Interact with Infomaniak Kdrive API

Actions178

Drive > Files > File/Directory > Access → Check Access Change

AI-generated

Summary

Check access change for an Infomaniak Kdrive file or directory

Inputs

  • authentication — Authentication method to use for the API request. Defaults to OAuth2 if not specified. Choose between OAuth2 and API Key.
  • path_drive_id (required) — Identifier of the Infomaniak Kdrive. Must be a numeric value; default is 0 but must be provided for the operation to proceed.
  • path_file_id (required) — Identifier of the file or directory within the drive. Must be a numeric value; default is 0 but must be provided for the operation to proceed.
  • body_right (required) — Access level to check or set for the specified file or directory. Options: manage (can share, write, and read), none (cannot act on the file), read (can only read), write (can write and read).
  • bodyParameters — Optional additional fields to include in the API request body. Supports three sub-fields: body_emails (JSON, email addresses), body_team_ids (JSON, team identifiers), and body_user_ids (JSON, user identifiers). All default to empty objects if omitted.
  • returnFullResponse — When set to true, the full API response object is returned instead of a simple boolean. Defaults to false.

Output shape

boolean or object

If returnFullResponse is false (default), returns a boolean indicating whether the access change was processed. If true, returns the complete API response payload from Infomaniak.

Links

Discussion