Logo of FrontifyDeveloper portalArrow to the right
GraphQL reference
Mutation

removeLibraryAssetTargets():RemoveLibraryAssetTargets
Beta

Remove target IDs from asset IDs. Requires basic:write scope to be accessible and Asset edit permission.

Limitations: All assets must belong to the same library. Library must have the "Targets" setting enabled.

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 RemoveLibraryAssetTargetsInput
assetIds: [ID!]!
Beta

Asset Id. Limited to 100 Ids per request. Assets must belong to the same library.

targetIds: [ID!]!
Beta

Target Id. Limited to 100 Ids per request.

Fields of RemoveLibraryAssetTargets
assets:[Asset!]!
Beta

The assets affected by the mutation.