Change when a package expires
update_package_expiration_date_and_timeUpdate a package's expiration date and time, and toggle unlimited storage. Expired packages and files are permanently deleted.
Instructions
Update package expiration date and time. Also allows enable or disable unlimited storage. Additional package storage may incur charges, depending on your team subscription plan. Once expired the package and all of its files are deleted and can not be restored.
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": {
"packageId": "<packageId>",
"unlimited_storage": "<unlimited_storage>"
},
"name": "update_package_expiration_date_and_time"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| expiry | No | The date and time on which the package will expire in UTC (ISO 8601 format). When setting expiry unlimited_storage parameter should be false | |
| packageId | Yes | Id of the package to update expiry date for | |
| unlimited_storage | Yes | Specifies if unlimited storage is enabled or disabled for a package. If disabling unlimited storage expiry parameter must be set |