update_package_expiration_date_and_time
Set or change a package's expiration date and time, and toggle unlimited storage. Disabling unlimited storage requires an expiration date. Expired packages 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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| 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 | |
| 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 |