Class ByProjectKeyStatesByIDDelete

java.lang.Object
io.vrap.rmf.base.client.ApiMethod<ByProjectKeyStatesByIDDelete,State>
com.commercetools.api.client.ByProjectKeyStatesByIDDelete
All Implemented Interfaces:
ApiDeleteMethod<ByProjectKeyStatesByIDDelete,State>, ConflictingTrait<ByProjectKeyStatesByIDDelete>, Deprecatable200Trait<ByProjectKeyStatesByIDDelete>, ErrorableTrait<ByProjectKeyStatesByIDDelete>, ExpandableTrait<ByProjectKeyStatesByIDDelete>, VersionedTrait<ByProjectKeyStatesByIDDelete>, io.vrap.rmf.base.client.ClientRequestCommand<State>, io.vrap.rmf.base.client.CreateHttpRequestCommand, io.vrap.rmf.base.client.RequestCommand<State>



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