Skip to main content
POST
/
api
/
v2
/
asset-group-tags
/
search
Search Asset Group Tags
curl --request POST \
  --url https://bloodhound.specterops.io/openapi.json/api/v2/asset-group-tags/search \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "query": "<string>",
  "tag_type": 123,
  "asset_group_tag_id": 123
}
'
{
  "data": {
    "tags": [
      {
        "id": 123,
        "type": 123,
        "kind_id": 123,
        "name": "<string>",
        "description": "<string>",
        "created_at": "2023-11-07T05:31:56Z",
        "created_by": "<string>",
        "updated_at": "2023-11-07T05:31:56Z",
        "updated_by": "<string>",
        "position": {
          "int32": 123,
          "valid": true
        },
        "require_certify": {
          "bool": true,
          "valid": true
        },
        "analysis_enabled": {
          "bool": true,
          "valid": true
        },
        "glyph": {
          "string": "<string>",
          "valid": true
        }
      }
    ],
    "selectors": [
      {
        "id": 123,
        "asset_group_tag_id": 123,
        "created_at": "2023-11-07T05:31:56Z",
        "created_by": "<string>",
        "updated_at": "2023-11-07T05:31:56Z",
        "updated_by": "<string>",
        "disabled_at": "2023-11-07T05:31:56Z",
        "disabled_by": "<string>",
        "name": "<string>",
        "description": "<string>",
        "auto_certify": 0,
        "is_default": true,
        "allow_disable": true,
        "seeds": [
          {
            "type": 1,
            "value": "<string>"
          }
        ]
      }
    ],
    "members": [
      {
        "id": 123,
        "object_id": "<string>",
        "environment_id": "<string>",
        "primary_kind": "<string>",
        "name": "<string>",
        "properties": {},
        "source": 123
      }
    ]
  }
}
Applies to BloodHound Enterprise and CE

Authorizations

Authorization
string
header
required

Authorization: Bearer $JWT_TOKEN

Body

application/json

The request body for searching asset group tags. query represents being able to query by either name or object id. tag_type can be either 1(zone), 2(label), or 3(owned). And asset_group_tag_id is the ID of a tag (zone or label).

query
string
required
tag_type
integer
required
asset_group_tag_id
integer

Response

OK

data
object