Skip to main content
PATCH
Update expiration time within subscription

Authorizations

Authorization
string
header
required

To test endpoints here, paste your API key from the Dashboard into the username field and leave the password empty.

Path Parameters

subscription_id
string
required

ID of the subscription.

Example:

"77e77447-1586-40e8-a75b-467ef939a0b1"

Body

application/json
expires_at
string<date-time> | null
required

New expiry time, as an RFC 3339 timestamp with an offset (Z or +03:00), or null for never. Required: omitting the field returns 400. A malformed value, or one earlier than 1 minute from now, returns 400.

Example:

"2026-12-31T00:00:00Z"

Response

Expiry updated. Also returned when the new value matches the stored one.