DevelopersAPI referenceTags
Delete tags from all the user's items
POST
Removes the tags from the user's items (own and AI tags; archived items too) and dismisses them on
those items, so tagging them again does not suggest them back. Allowed while the library is read-only
over its plan's limits. Smart Spaces and rules that name a deleted or renamed tag are not changed. An
API key needs write access to items.
bearerheader
AuthorizationBearer <token>A personal API key (ga_…), sent as Authorization: Bearer ga_…. A key gets 403 on a resource it has no access to, and on anything that changes data without write access.
application/json- body
tags*array<>Items
1 <= items <= 50Done. items is how many of the user's items changed.
application/json- response
items*integerRange
0 <= valuecurl -X POST 'https://example.com/v1/tags/delete' \ -H 'Content-Type: application/json' \ -d '{ "tags": [ "string" ]}'Example Response
{ "items": 0}