Delete a strain
Permanently delete a strain. This is a HARD delete — the strain row is removed outright (strains have no archived or soft-deleted state), so it immediately disappears from the list and fetch endpoints and its id stops resolving. Deletion cannot be undone; recreating the strain via upsert produces a new strain with a new id.
Deleting a strain never deletes the products classified under it: those products remain intact, but their strain association is cleared, so they read back with a null strain. The strain is also removed from any menus that grouped products by it. No inventory is created, consumed, or released, and nothing is synced to Metrc or BioTrack.
A strain can be deleted at any time, with one exception: when your company runs BioTrack compliance and the strain is attached to any package-tracked product, the request is rejected with a 400 — BioTrack requires every package-tracked product to keep a strain. This check also counts inactive or deleted products, since they could be reactivated later; reassign those products to another strain first. Companies on Metrc or with no compliance system can delete a strain regardless of its product associations. Returns 204 on success, or 404 if no strain with that id exists in your company.
Required permission: settings_permissions_strains.
Path parameters
ID of the strain to delete, as returned in the id field of the list or upsert response. An ID that doesn't exist for your company returns 404.
Response
No Content
Changes
No recorded changes to this endpoint across all 1 revision of this API.