Class ByProjectKeyCategoriesKeyByKeyDelete

java.lang.Object
io.vrap.rmf.base.client.ApiMethod<ByProjectKeyCategoriesKeyByKeyDelete,Category>
com.commercetools.api.client.ByProjectKeyCategoriesKeyByKeyDelete
All Implemented Interfaces:
ApiDeleteMethod<ByProjectKeyCategoriesKeyByKeyDelete,Category>, ConflictingTrait<ByProjectKeyCategoriesKeyByKeyDelete>, Deprecatable200Trait<ByProjectKeyCategoriesKeyByKeyDelete>, ErrorableTrait<ByProjectKeyCategoriesKeyByKeyDelete>, ExpandableTrait<ByProjectKeyCategoriesKeyByKeyDelete>, VersionedTrait<ByProjectKeyCategoriesKeyByKeyDelete>, io.vrap.rmf.base.client.ClientRequestCommand<Category>, io.vrap.rmf.base.client.CreateHttpRequestCommand, io.vrap.rmf.base.client.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()