Delete a sample type

Removes a sample type from the caller's primary group. The behaviour depends on what's still referencing the type:

  • Active samples exist — the call returns 409 (Conflict); archive or delete those samples first.
  • Only archived samples exist — the sample type is soft-deleted (its deleted flag is set) so the archived samples remain readable, and it can be restored later via POST /sampleTypes/{id}/restore.
  • No samples reference the type — the sample type is hard-deleted along with all its meta fields and meta defaults; this is irreversible.

Returns 404 when the sample type does not exist in your group, and 403 when the caller lacks the sample-type delete permission.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
int32
required
Headers
string
Defaults to Swagger
Response
204

No Content

Language
Credentials
Header
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here!