Skip to main content
PATCH
Set sample expiration (bulk)

Authorizations

Authorization
string
header
required

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

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.

sampleIds
string<uuid>[]
required
Required array length: 1 - 500 elements
expiresAt
string<date-time> | null
neverExpire
boolean
useOrgDefault
boolean
reason
string
Maximum string length: 500

Response

Bulk update result

updated
integer
required
batchId
string<uuid>
required