Unassign Tag from User
Remove an access tag from the calling admin or creator's own account. Other roles get 403.
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
- Requires an admin or creator token.
- The tag is removed from the caller's own account 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: [].