Skip to main content

Assign Tag to User

Assign an access tag to the currently authenticated user. If the tag does not exist, it is created automatically.

Endpoint

POST /api/access-tag/assign

Request Body

{
"title": "Premium Member",
"AuthorId": 12345
}
FieldTypeRequiredDescription
titlestringYesThe tag name to assign.
AuthorIdintegerNoThe user ID of the tag creator. Used to scope the tag lookup.

Response

Returns an empty 200 OK on success.

Notes

  • The tag is assigned to the currently authenticated user (self-assign).
  • If no tag with the given title exists on the platform, one is created automatically.
  • Assigning a tag that the user already has is a no-op.
  • Deprecated alias: POST /api/user-tag/assign
  • To assign tags to other users (admin), use the Add/Edit User endpoint with AccessTagIds.