Collections

Updates an expiry date of a collection.

Updates an expiry date of a collection.

put/collections/{collection_id}/expiry_date

Request

Path parameters

collection_idstring required

Id of the collection

Request body

expiry_datestring required

Collection expiry. Either an ISO 8601 date ("2026-09-30") or a full ISO 8601 datetime with optional timezone offset ("2026-09-30T17:00:00-05:00"). A date-only value resolves to midnight (00:00:00) of that day in the timezone below.

timezonestring

Optional timezone to associate with the expiry date (with IANA timezone support). Ignored for parsing when expiry_date carries its own offset, but always stored as the collection's expiry_timezone so the expiry is displayed in this zone.

Response

Successful operation

Changes

No recorded changes to this operation across all 1 revision of this API.