Create Access Tag
Create a new access tag on the platform. If a tag with the same title already exists, the existing tag is returned.
Endpoint
POST /api/access-tag
Request Body
{
"title": "Premium Member",
"AuthorId": 12345
}
| Field | Type | Required | Description |
|---|---|---|---|
title | string | Yes | The tag name. |
AuthorId | integer | No | The user ID of the tag creator. Defaults to null. |
Response
{
"success": "true",
"id": 1
}
Notes
- The tag is created on the authenticated user's platform.
- If a tag with the same
title,PlatformId, andAuthorIdalready exists, it is returned instead of creating a duplicate. - Deprecated alias:
POST /api/user-tag