Class ByProjectKeyChannelsKeyByKeyDelete

All Implemented Interfaces:
ConflictingTrait<ByProjectKeyChannelsKeyByKeyDelete>, Deprecatable200Trait<ByProjectKeyChannelsKeyByKeyDelete>, ErrorableTrait<ByProjectKeyChannelsKeyByKeyDelete>, ExpandableTrait<ByProjectKeyChannelsKeyByKeyDelete>, VersionedTrait<ByProjectKeyChannelsKeyByKeyDelete>, ClientRequestCommand<Channel>, CreateHttpRequestCommand, HttpRequestCommand<Channel>, RequestCommand<Channel>

Returns a ReferenceExists error if other resources reference the Channel to be deleted.



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