Class ByProjectKeyChannelsKeyByKeyDelete

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

If the Channel is referenced by a resource, a ReferenceExists error is returned.



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