You are here: Home > API Reference > UEM > Users > Retrieve available user tags

Retrieve available user tags

Required Permission: mdm.global.mdmUser.list

Retrieve all distinct tag values currently assigned to device management users for filtering and organizational categorization purposes.

GET
https://api.applivery.io/v1/organizations/{organizationId}/mdm/users/tags
curl -X GET "https://api.applivery.io/v1/organizations/{organizationId}/mdm/users/tags" \
  -H "Authorization: Bearer <YOUR_API_KEY>"
const response = await fetch("https://api.applivery.io/v1/organizations/{organizationId}/mdm/users/tags", {
  method: "GET",
  headers: {
    Authorization: "Bearer <YOUR_API_KEY>",
  },
});

const data = await response.json();
import requests

response = requests.get(
    "https://api.applivery.io/v1/organizations/{organizationId}/mdm/users/tags",
    headers={"Authorization": "Bearer <YOUR_API_KEY>"},
)

data = response.json()

Request

Send your API key in the request header authorization
Example: Authorization: Bearer <token>

organizationId string
required
Organization identifier or URL-friendly slug for scoping user operations within specific workspace and access control boundaries.
Match pattern: ^(([a-fA-F0-9]{24})|([a-zA-Z0-9\\-]{3,}))$

Responses

200 Response application/json
status boolean required
data object required
items array [object] required
Array of unique tag values currently assigned to users for organizational categorization and filtering purposes.
value string required
≤ 256 characters
{
    "status": true,
    "data": {
        "items": [
            {
                "value": "string"
            }
        ]
    }
}
401 Response application/json
status boolean optional
false
error object optional
code number optional
4001
message string optional
Unauthorized
{
    "status": false,
    "error": {
        "code": 4002,
        "message": "No auth token"
    }
}
404 Response application/json
status boolean optional
false
error object optional
code number optional
3001
message string optional
Entity not found
{
    "status": false,
    "error": {
        "code": 3001,
        "message": "Entity not found"
    }
}
Was this page helpful?