Overview / Stock & supply / Delete a measure

Delete a measure

delete https://api.flactrum.com/v1/custom-units/{unit}
Required scope stock_items.write
Success status204

Parameters

NameInTypeDescription
unit * path string ULID of the record.

Examples

Recorded from the test suite — these are real requests and their real responses.

curl -X DELETE 'https://api.flactrum.com/v1/custom-units/01m43sq5x66wsnx135fwrwy8pb' \
  -H 'Authorization: Bearer flk_your_key:your_secret' \
  -H 'Accept: application/json'

HTTP 204

(empty body)