Class ByProjectKeyVariantsByIDDelete

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

Deletes a Variant identified by its ID.



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