delete
https://{targetURL}/api/v1/sampleTypes/
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
deletedflag is set) so the archived samples remain readable, and it can be restored later viaPOST /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
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
204No Content