infomaniak_create_drive_share_link
Create a share link for any kDrive file or folder. Confirms changes with a two-phase commit guard before the link is applied.
Instructions
Create a kDrive share link through POST /2/drive/{drive_id}/files/{file_id}/link. Two-phase commit with current share-link guard.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| link | Yes | Share-link payload accepted by Infomaniak's /2/drive/{drive_id}/files/{file_id}/link endpoints. | |
| file_id | Yes | kDrive file or folder id. | |
| drive_id | Yes | kDrive id. Discover via infomaniak_list_drives. | |
| confirmation_token | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||