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

assets.tags.delete

Puck Assets is in early access. Request access.

Delete a tag by name.

await puck.assets.tags.delete("Old campaign");
// { name: "Old campaign", deleted: true }

Returns an object.

Args

ParamExampleTypeStatus
name"Old campaign"StringRequired
options{ auth: {} }Object-

name

The tag’s name.

options

Set the request options for this call.

Returns

Returns an object with the shape:

ParamExampleType
namename: "Old campaign"String
deleteddeleted: truetrue

name

The deleted tag’s name.

deleted

Always true.