Expiration Time of an Object

Namespace

obs.Expiration

Parameter Description

Field

Type

Optional or Mandatory

Description

date

str

or

DateTime

Mandatory when the parameter is used as a request parameter and days is None

Date when an object expires. If the value type is str, the value must conform with the ISO8601 standards and must be at 00:00 (UTC time), for example, 2018-01-01T00:00:00Z.

days

int

Mandatory when the parameter is used as a request parameter and date is None

Number of days after which an object expires since its creation. The value must be a positive integer.

date and days are mutually exclusive.