Drive > Files > Share link > Manage
Create share-link
Changed onCreate a share link
post/2/drive/{drive_id}/files/{file_id}/link
Request
- Base URLhttps://api.infomaniak.com
- URLhttps://api.infomaniak.com/2/drive/{drive_id}/files/{file_id}/link
- AuthHTTP 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
Response
Created
Example response
{
"result": "success",
"data": {
"url": "https://kdrive.infomaniak.com/app/share/xxxx/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx",
"right": "inherit"
}
}Changes
- warning
added the new
forbidden_errorenum value to the//response property for the response status - info
added the non-success response with the status
- info
added the non-success response with the status
- warning
- breaking
removed the enum value
inheritof the request property
- breaking