Class ByProjectKeyStatesKeyByKeyDelete

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



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