Logo of FrontifyDeveloper portalArrow to the right
GraphQL reference
Mutation

deleteAssetVariant():DeleteAssetVariant

Delete an existing AssetVariant. Only supported for assets in icon and logo libraries. Requires basic:write scope to be accessible and Asset permission level EDIT.

All mutations have exactly one input field called input with a unique input and return type. This is useful to write mutations with variables, so there is always one single variable per mutation. This makes it easier to use and reuse them.

Input fields of DeleteAssetVariantInput
assetId: ID!

Asset Id of the AssetVariant to delete.

key: String!

Key of the AssetVariant to delete. Composed of the color space and the file extension. Examples: RGB:JPG, CMYK:SVG.

Fields of DeleteAssetVariant
id:ID!

AssetVariant Id.