Torch Object Storage
Name | Location | Type | Required | Sample value | Note |
Name | Location | Type | Required | Sample value | Note |
objectExpires | Query | String | Yes | - | Special identifier representing the SetObjectExpires request. |
Name | Type | Required | Sample value | Note |
Name | Type | Required | Sample value | Note |
ObjectExpires | Integer | Yes | 1 | Add or modify the expiration time of an object. After expiration, TOS automatically deletes the object. The unit is days. The values are described as follows:
tip Expiring objects via APIs takes precedence over lifecycle deletion rules. For instance, if an object's expiration time is set to five days and a lifecycle rule specifies deletion after three days, the object will be deleted after five days based on its expiration time. |