Unassign Tag from User
Remove an access tag from the currently authenticated user.
Endpoint
DELETE /api/access-tag/assign
Request Body
{
"title": "Premium Member",
"AuthorId": 12345
}
| Field | Type | Required | Description |
|---|---|---|---|
title | string | Yes | The tag name to remove. |
AuthorId | integer | No | The user ID of the tag creator. Used to scope the tag lookup. |
Response
{
"success": true,
"message": "Tag unassigned successfully"
}
If the tag does not exist:
{
"success": true,
"message": "Tag not found or already unassigned"
}
Notes
- The tag is removed from the currently authenticated user only.
- If the tag does not exist or is already unassigned, the request succeeds silently.
- To replace all tags on another user (admin), use the Add/Edit User endpoint with
AccessTagIds: [].