Overview / Stock & supply / Delete an asset

Delete an asset

delete https://api.flactrum.com/v1/assets/{asset}

Prefer status written_off over deleting: past counts stay meaningful only while the asset exists.

Required scope assets.write
Success status204

Parameters

NameInTypeDescription
asset * 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/assets/01m43mxjayhczha69csjxv6ezf' \
  -H 'Authorization: Bearer flk_your_key:your_secret' \
  -H 'Accept: application/json'

HTTP 204

(empty body)