---
title: "Delete or archive a commodity"
method: DELETE
path: "/public/v3/Commodities/{commodityId}"
tags: ["Commodities"]
---

# Delete or archive a commodity

`DELETE /public/v3/Commodities/{commodityId}`

Deletes a commodity from the specified account if it is not in use. If the commodity has been used, it will be archived instead.

## Path parameters

- `commodityId` integer, required

## Headers

- `x-tive-account-id` integer, required

## Response `204`

The commodity has been deleted/archived

## Other responses

- `400` — Unable to delete/archive the commodity. See response message for details.
- `401` — Unauthorized
- `500` — Internal Server Error

---

[API](https://skmtc.net/tive/apis/tive-public-api.md) · [All operations](https://skmtc.net/tive/apis/tive-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/tive/tive-public-api/revisions/9a8d869e3cdc/schema)
