@gradientedge/commercetools-utils
    Preparing search index...

    Interface ProductTypeRemoveEnumValuesAction

    Removes enum values from an AttributeDefinition of AttributeEnumType, AttributeLocalizedEnumType, AttributeSetType of AttributeEnumType, or AttributeSetType of AttributeLocalizedEnumType.

    If the Attribute is **not** required, the Attributes of all Products using those enum keys will also be removed in an [eventually consistent](/general-concepts#eventual-consistency) way. If the Attribute is required, the operation returns an [EnumValueIsUsed](ctp:api:type:EnumValueIsUsedError) error.
    
    interface ProductTypeRemoveEnumValuesAction {
        action: "removeEnumValues";
        attributeName: string;
        keys: string[];
    }

    Hierarchy (View Summary)

    Index

    Properties

    action: "removeEnumValues"
    attributeName: string

    Name of the AttributeDefinition to update.

    keys: string[]