Update share expiry
update_shareSet when an owned share expires. expires_in_hours is measured from now. Example: 168 for 7 days. Does not return the token. Requires your API key.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"grant_id": "<grant_id>",
"expires_in_hours": "<expires_in_hours>"
},
"name": "update_share"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_key | No | Secret API key from signup. Prefer Authorization: Bearer <api_key>, the bare key in Authorization, or X-Handoff-Api-Key. Pass this only when you cannot set headers. Do not write it into a file you share. | |
| grant_id | Yes | ||
| expires_in_hours | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | ||
| file_id | Yes | ||
| audience | Yes | ||
| grant_id | Yes | ||
| max_opens | Yes | ||
| expires_at | Yes | ||
| open_count | Yes |