Class ByProjectKeyTaxCategoriesByIDDelete

All Implemented Interfaces:
ApiDeleteMethod<ByProjectKeyTaxCategoriesByIDDelete,TaxCategory>, ConflictingTrait<ByProjectKeyTaxCategoriesByIDDelete>, Deprecatable200Trait<ByProjectKeyTaxCategoriesByIDDelete>, ErrorableTrait<ByProjectKeyTaxCategoriesByIDDelete>, ExpandableTrait<ByProjectKeyTaxCategoriesByIDDelete>, VersionedTrait<ByProjectKeyTaxCategoriesByIDDelete>, ClientRequestCommand<TaxCategory>, CreateHttpRequestCommand, HttpRequestCommand<TaxCategory>, RequestCommand<TaxCategory>

If the TaxCategory is referenced by a resource, a ReferenceExists error is returned.



   CompletableFuture<ApiHttpResponse<com.commercetools.api.models.tax_category.TaxCategory>> result = apiRoot
            .withProjectKey("{projectKey}")
            .taxCategories()
            .withId("{ID}")
            .delete()
            .withVersion(version)
            .execute()