Class ByProjectKeyCategoriesKeyByKeyDelete

All Implemented Interfaces:
ApiDeleteMethod<ByProjectKeyCategoriesKeyByKeyDelete,Category>, CategoryExpansionMixin<ByProjectKeyCategoriesKeyByKeyDelete>, ConflictingTrait<ByProjectKeyCategoriesKeyByKeyDelete>, Deprecatable200Trait<ByProjectKeyCategoriesKeyByKeyDelete>, ErrorableTrait<ByProjectKeyCategoriesKeyByKeyDelete>, ExpandableRequest<ByProjectKeyCategoriesKeyByKeyDelete,CategoryExpansionBuilderDsl>, ExpandableTrait<ByProjectKeyCategoriesKeyByKeyDelete>, VersionedTrait<ByProjectKeyCategoriesKeyByKeyDelete>, 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()
            .withKey("{key}")
            .delete()
            .withVersion(version)
            .execute()