Class ByProjectKeyStatesByIDDelete

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



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