v1Resources/Data/postAdd assets to a tag

Add assets to a tag

Attaches one or more assets, by key, to an existing asset tag.

post/api/v1/tags/{id}/assets
media:write
Query parameters
idstringrequired
ID of the asset tag.
Request body
assetKeysarray of stringrequired
Keys of the assets to attach to this tag.
Response
dataobjectoptional
addedarray of stringoptional
Keys of the assets actually attached — an asset already carrying this tag is not duplicated.
Errors
400The request is missing a required parameter or is otherwise malformed.
401Missing, invalid, expired, or revoked API key.
403The key lacks the required scope, or isn't authorized for this client/location.
404The resource wasn't found, or doesn't belong to your agency.
429Too many requests. Retry after the number of seconds in the Retry-After header.
post/api/v1/tags/{id}/assets
Your API key
id *
Request body*
{
  "data": {
    "added": [
      "upload:abc123",
      "gmb:xyz789"
    ]
  }
}