Generate experiences with Puck AI
Read docs
CloudAPI referencecloud-clientServer APIsassets.tags.rename

assets.tags.rename

Puck Assets is in early access. Request access.

Rename a tag by name.

await puck.assets.tags.rename("Brand kit", "Brand");
// "Brand"

Returns the tag’s new name.

Args

ParamExampleTypeStatus
name"Brand kit"StringRequired
newName"Brand"StringRequired
options{ auth: {} }Object-

name

The tag’s name.

newName

The tag’s new name, without commas. Must be unique.

options

Set the request options for this call.