Update Share
Update share settings (expiration, max downloads, etc.)
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
share_id | string | Required | ID of the share to update |
title | string | Optional | Updated title |
expiration_date | string | Optional | New expiration date (ISO 8601) |
max_downloads | number | Optional | New max downloads (-1 for unlimited) |
require_login | boolean | Optional | Require login to access |
require_user_info | boolean | Optional | Require user info to access |
is_view_only | boolean | Optional | Enable/disable view only mode |
Examples
MCP Tool Call
{
"name": "sharefile_updateShare",
"arguments": {
"share_id": "example",
"title": "example",
"expiration_date": "example",
"max_downloads": 12345,
"require_login": true,
"require_user_info": true,
"is_view_only": true
}
}REST API
curl -X POST https://api.syncello.io/v1/tools/sharefile/updateShare \
-H "Authorization: Bearer YOUR_JWT_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"share_id": "example",
"title": "example",
"expiration_date": "example",
"max_downloads": 12345,
"require_login": true,
"require_user_info": true,
"is_view_only": true
}'