curl -X GET 'https://api.example.com/tag-groups?scopeId=scope_acme' \
-H 'Authorization: Bearer YOUR_TOKEN'
[
{
"id": "tag_group_priority",
"scopeId": "scope_acme",
"name": "Priority",
"key": "priority",
"description": "Task priority levels",
"origin": "user",
"maxAppliedPerTarget": 1,
"isLocked": false,
"createdBy": "user-1",
"createdAt": "2024-01-15T10:30:00Z"
},
{
"id": "tag_group_status",
"scopeId": "scope_acme",
"name": "Status",
"key": "status",
"description": "Task status",
"origin": "user",
"maxAppliedPerTarget": 1,
"isLocked": false,
"createdBy": "user-1",
"createdAt": "2024-01-15T10:30:00Z"
}
]
Get tag groups for a scope
curl -X GET 'https://api.example.com/tag-groups?scopeId=scope_acme' \
-H 'Authorization: Bearer YOUR_TOKEN'
[
{
"id": "tag_group_priority",
"scopeId": "scope_acme",
"name": "Priority",
"key": "priority",
"description": "Task priority levels",
"origin": "user",
"maxAppliedPerTarget": 1,
"isLocked": false,
"createdBy": "user-1",
"createdAt": "2024-01-15T10:30:00Z"
},
{
"id": "tag_group_status",
"scopeId": "scope_acme",
"name": "Status",
"key": "status",
"description": "Task status",
"origin": "user",
"maxAppliedPerTarget": 1,
"isLocked": false,
"createdBy": "user-1",
"createdAt": "2024-01-15T10:30:00Z"
}
]
curl -X GET 'https://api.example.com/tag-groups?scopeId=scope_acme' \
-H 'Authorization: Bearer YOUR_TOKEN'
[
{
"id": "tag_group_priority",
"scopeId": "scope_acme",
"name": "Priority",
"key": "priority",
"description": "Task priority levels",
"origin": "user",
"maxAppliedPerTarget": 1,
"isLocked": false,
"createdBy": "user-1",
"createdAt": "2024-01-15T10:30:00Z"
},
{
"id": "tag_group_status",
"scopeId": "scope_acme",
"name": "Status",
"key": "status",
"description": "Task status",
"origin": "user",
"maxAppliedPerTarget": 1,
"isLocked": false,
"createdBy": "user-1",
"createdAt": "2024-01-15T10:30:00Z"
}
]
Was this page helpful?