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 (Legacy, by Public ID) → Update Asset Tags

AI-generated

Summary

Sets or appends tags on Cloudinary assets. Set mode replaces the tag list for one asset; append mode adds tags to one or more assets while preserving existing tags.

Inputs

  • Mode — Choose Set (the default) to replace existing tags, or Append to add tags while preserving them.
  • Public ID (required) — In Set mode, the public ID of the asset to update.
  • Resource Type — The asset resource type: Image (default), Video, or Raw.
  • Type (required) — In Set mode, the asset storage type: Upload, Private, Authenticated, or Fetch.
  • Public ID(s) (required) — In Append mode, provide one or more asset public IDs, separated by commas or as an array expression.
  • Type — In Append mode, select the asset's Cloudinary type: Upload (default), Private, Authenticated, or Fetch. It must match the asset.
  • Tags (required) — Comma-separated tag names to apply.
  • Invalidate CDN — In Set mode, optionally invalidate CDN cache copies of the asset; defaults to false.

Output shape

A single item containing the Cloudinary response data for the tag update.

Append mode uses Cloudinary's tag-action endpoint and can target multiple public IDs. The source pack omits operation bodies, so the exact response fields and error behavior are not visible.

Links

Discussion