v1

latestOpenAPI 3.1.02026-07-2211914.9 KB
Samples

Set sample expiration

Set a sample to expire on a specific date, set it to never expire, or clear any custom expiration and follow the org default. Caller must be the sample's creator, an org owner/admin, or a Strand admin.

patch/samples/{id}/expiration

Path parameters

idstring uuid required

Request body

expiresAtstring date-time nullable
neverExpireboolean
useOrgDefaultboolean
reasonstring

Response

Updated sample

idstring uuid required
expiresAtstring date-time nullable
expiresAtSource'org_default' | 'custom' | 'null' nullable
retentionChangedAtstring date-time nullable
retentionChangedBystring nullable
batchIdstring uuid