APICharge preset

Delete a charge preset

DELETE
/public/v1/charge-presets/{id}

Delete a charge preset. This is a hard delete: the preset is permanently removed, not archived, and cannot be recovered. Returns 204 on success, or 404 if no preset with that ID exists in your company — a preset that was already deleted also reads as 404.

Charges already applied from the preset keep their name, type, and amount, but their reference to it is severed: their charge_preset field reads null from then on. No inventory is affected and nothing is synced to Metrc or BioTrack. The preset's name is freed for a new preset to reuse.

Required permission: settings_permissions_charge_presets.

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 charge preset to delete. An ID that doesn't exist for your company returns 404.

Response Body

No Content

Example Request
curl -X DELETE 'https://app.distru.com/public/v1/charge-presets/6d023358-b498-45a2-89af-ab7a15a20ffa'
Example Response
Empty