Class ByProjectKeyChannelsByIDDelete

All Implemented Interfaces:
ApiDeleteMethod<ByProjectKeyChannelsByIDDelete,Channel>, ConflictingTrait<ByProjectKeyChannelsByIDDelete>, Deprecatable200Trait<ByProjectKeyChannelsByIDDelete>, ErrorableTrait<ByProjectKeyChannelsByIDDelete>, ExpandableTrait<ByProjectKeyChannelsByIDDelete>, VersionedTrait<ByProjectKeyChannelsByIDDelete>, 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()
            .withId("{ID}")
            .delete()
            .withVersion(version)
            .execute()