# Delete variant parameter and its values

URL: https://shoptet.dev/news/api/delete-variant-parameter-and-its-values

May 12, 2021 · One min read
Pavel Husa

We have introduced a new endpoint [Delete product variant parameter](https://api.docs.shoptet.com/shoptet-api/openapi/variant-parameters/deletevariantparameter) . This call deletes the parameter and all its values from the eshop. It is not possible to delete a parameter used in product variant – in such case error code `409` is returned.

To delete just one value of a variant parameter, use [Delete product variant parameter value](https://api.docs.shoptet.com/shoptet-api/openapi/variant-parameters/deletevariantparametervalue) – the value is identified by key `rawValue` . It the value is used in any product variant in the eshop, deletion is not possible and error code `409` is returned.

**Tags:**
- [API](/news/tags/api/)
