Skip to main content
GET
http://localhost:3000
/
tag-group-bindings
curl -X GET 'https://api.example.com/tag-group-bindings?tagGroupId=tag_group_departments' \
  -H 'Authorization: Bearer YOUR_TOKEN'
[
  {
    "id": "tag_binding_001",
    "tagGroupId": "tag_group_departments",
    "modelType": "subject",
    "modelId": null
  },
  {
    "id": "tag_binding_002",
    "tagGroupId": "tag_group_departments",
    "modelType": "resource",
    "modelId": null
  }
]

Query Parameters

tagGroupId
string
Filter by tag group ID
modelType
string
Filter by model type. One of: resource, resource_type, subject, role, permission
modelId
string
Filter by specific model ID

Response

Returns an array of tag group binding objects.
curl -X GET 'https://api.example.com/tag-group-bindings?tagGroupId=tag_group_departments' \
  -H 'Authorization: Bearer YOUR_TOKEN'
[
  {
    "id": "tag_binding_001",
    "tagGroupId": "tag_group_departments",
    "modelType": "subject",
    "modelId": null
  },
  {
    "id": "tag_binding_002",
    "tagGroupId": "tag_group_departments",
    "modelType": "resource",
    "modelId": null
  }
]