Class ByProjectKeyCategoriesByIDDelete

All Implemented Interfaces:
ApiDeleteMethod<ByProjectKeyCategoriesByIDDelete,Category>, CategoryExpansionMixin<ByProjectKeyCategoriesByIDDelete>, ConflictingTrait<ByProjectKeyCategoriesByIDDelete>, Deprecatable200Trait<ByProjectKeyCategoriesByIDDelete>, ErrorableTrait<ByProjectKeyCategoriesByIDDelete>, ExpandableRequest<ByProjectKeyCategoriesByIDDelete,CategoryExpansionBuilderDsl>, 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()