APIDriver

Delete a driver

DELETE
/public/v1/drivers/{id}

Deletes a driver. This is a soft delete: the driver stops appearing in the list and fetch endpoints and can no longer be updated, but the record is retained. Returns 404 if no matching driver exists in your company or it was already deleted. Responds 204 with no body on success.

Deleting does not remove the driver from transfers, transfer templates, or manifests that already reference it. For a BIOTRACK company, a successful delete queues an asynchronous removal in BioTrack — a 204 means the driver was removed in Distru, not that BioTrack has processed the removal. The delete is rejected up front (and nothing is removed) when your company or user BioTrack credentials are missing or lack permission for this operation; once queued, a later rejection by BioTrack does not restore the Distru record. METRC companies have no such sync.

Required permission: settings_permissions_drivers.

Authorization

Bearer
headerAuthorizationBearer <token>

API token generated in Distru (Settings → Distru API). Send it on every request as Authorization: Bearer YOUR_API_TOKEN.

Path Parameters

id*string

ID of the driver to delete, as returned by the list, fetch, and upsert endpoints.

Response Body

No Content

Example Request
curl -X DELETE 'https://app.distru.com/public/v1/drivers/00000000-0000-0000-0000-000000000012'
Example Response
Empty