Class ByProjectKeyCategoriesByIDDelete

java.lang.Object
io.vrap.rmf.base.client.ApiMethod<ByProjectKeyCategoriesByIDDelete,Category>
com.commercetools.api.client.ByProjectKeyCategoriesByIDDelete
All Implemented Interfaces:
ApiDeleteMethod<ByProjectKeyCategoriesByIDDelete,Category>, ConflictingTrait<ByProjectKeyCategoriesByIDDelete>, Deprecatable200Trait<ByProjectKeyCategoriesByIDDelete>, ErrorableTrait<ByProjectKeyCategoriesByIDDelete>, ExpandableTrait<ByProjectKeyCategoriesByIDDelete>, VersionedTrait<ByProjectKeyCategoriesByIDDelete>, 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()
            .withId("{ID}")
            .delete()
            .withVersion(version)
            .execute()