Skip to main content

Assign Tag to User

Assign an access tag to the calling admin or creator's own account. If the tag does not exist, it is created automatically. Other roles get 403.

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​

  • Requires an admin or creator token. Members can't assign themselves a tag.
  • The tag is assigned to the caller's own account.
  • 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.