Cloudinary icon

Cloudinary

Upload images and videos, generate images with AI from text prompts or reference images, build optimized transformation and delivery URLs, generate video players, and manage, search, tag, and edit metadata in your Cloudinary media library

Asset → Update Asset Tags

AI-generated

Summary

Replace an asset’s tags or append tags to existing assets in Cloudinary. Set mode targets one asset by immutable asset ID; append mode targets one or more public IDs and requires the matching resource type and delivery type.

Inputs

  • Mode — Choose Set (the default) to replace all existing tags, or Append to add tags while preserving existing ones.
  • Asset ID (required) — In Set mode, provide the asset’s immutable asset_id.
  • Public ID(s) (required) — In Append mode, provide one or more public IDs as a comma-separated string or an expression returning a value or array. Append uses public IDs, not asset IDs.
  • Resource Type — In Append mode, select image, video, or raw; defaults to image.
  • Type — In Append mode, select the asset’s Cloudinary type (upload, private, authenticated, or fetch); defaults to upload. It must match the asset’s type.
  • Tags (required) — Comma-separated tag names to apply.
  • Update Fields — In Set mode, optionally enable Invalidate CDN to invalidate cached copies of the asset.

Output shape

A single result for Set mode, or results for the supplied public IDs in Append mode.

The source pack omits the operation implementation bodies, so it does not establish the exact response fields or whether append results are returned individually or as a collection.

Links

Discussion