Class ByProjectKeyCustomerGroupsKeyByKeyDelete

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



   CompletableFuture<ApiHttpResponse<com.commercetools.api.models.customer_group.CustomerGroup>> result = apiRoot
            .withProjectKey("{projectKey}")
            .customerGroups()
            .withKey("{key}")
            .delete()
            .withVersion(version)
            .execute()