Distribution targets on library assets — who or where an asset is aimed at.

Mutation

addLibraryAssetTargets

Add target IDs to asset IDs, avoiding duplicates. 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.

Beta

Returns

AddLibraryAssetTargets

Arguments

input:AddLibraryAssetTargetsInput!RequiredBeta
RequiredassetIds: [ID!]!, targetIds: [ID!]!

Response fields

0 selected

Toggle fields to tailor the query and response.

Mutation

removeLibraryAssetTargets

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.

Beta

Returns

RemoveLibraryAssetTargets

Arguments

input:RemoveLibraryAssetTargetsInput!RequiredBeta
RequiredassetIds: [ID!]!, targetIds: [ID!]!

Response fields

0 selected

Toggle fields to tailor the query and response.

Mutation

setLibraryAssetTargets

Sync target IDs on asset IDs (add missing, remove extra). 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.

Beta

Returns

SetLibraryAssetTargets

Arguments

input:SetLibraryAssetTargetsInput!RequiredBeta
RequiredassetIds: [ID!]!, targetIds: [ID!]!

Response fields

0 selected

Toggle fields to tailor the query and response.