Luxor PlatformAPI DocumentationCommanderInventory

Delete inventory asset

Soft-deletes (archives) a single inventory asset. Archived assets can be restored. Returns 204.

DELETE
/v2/commander/inventory/assets/{asset_id}

Authorization

LuxorAPIKey
authorization<token>

Use your API key here.

In: header

Path Parameters

asset_id*string

Asset id (uuid) or asset_code.

Length1 <= length

Response Body

application/json

application/json

application/json

curl -X DELETE "https://example.com/v2/commander/inventory/assets/string"
Empty
{  "statusCode": 400,  "code": "FST_ERR_VALIDATION",  "error": "Bad Request",  "message": "body/end_date Required"}
{  "statusCode": 400,  "code": "FST_ERR_VALIDATION",  "error": "Bad Request",  "message": "body/end_date Required"}
{  "statusCode": 400,  "code": "FST_ERR_VALIDATION",  "error": "Bad Request",  "message": "body/end_date Required"}