Skip to main content
PATCH
Set sample expiration

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string<uuid>
required

Body

application/json

Provide exactly one of expiresAt, neverExpire: true, or useOrgDefault: true. neverExpire: true is sugar for expiresAt: null (custom). useOrgDefault: true clears the custom expiration and follows the org's default policy.

expiresAt
string<date-time> | null
neverExpire
boolean
useOrgDefault
boolean
reason
string
Maximum string length: 500

Response

Updated sample

id
string<uuid>
required
expiresAt
string<date-time> | null
expiresAtSource
enum<string> | null
Available options:
org_default,
custom,
null
expirationChangedAt
string<date-time> | null
expirationChangedBy
string | null
batchId
string<uuid>