Class ByProjectKeyCategoriesByIDDelete

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

Either the scope manage_products:{projectKey} or manage_categories:{projectKey} is required.



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