Skip to navigation

Rename a content tag

Requires posts:write. Renames the tag on every team post that has it and in the team’s saved tags, the same as renaming a tag in the app. {tag} matches any casing, with or without a leading #. The new name is trimmed and at most 60 characters; a rename that only changes casing is allowed. If the team already has a tag called name, the two merge: posts that had both keep one. Renaming to the current spelling is a no-op with postsAffected: 0.

failed lists post ids that could not be rewritten; retry the same request to finish them. Rate class team_tags (5 / minute, 100 / day per key).

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

OR
X-Api-Keystring
API Key authentication via header

Path parameters

tagstringRequired

The tag’s current name (URL-encoded).

Request

This endpoint expects an object.
namestringRequired1-60 characters

Response

The tag was renamed
dataobjectOptional
metaobjectOptional

Errors

400
Bad Request Error
403
Forbidden Error
404
Not Found Error