Skip to main content
POST
/
api
/
v2
/
custom-nodes
Create custom nodes
curl --request POST \
  --url https://bloodhound.specterops.io/openapi.json/api/v2/custom-nodes \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "custom_types": {
    "KindA": {
      "icon": {
        "type": "font-awesome",
        "name": "house",
        "color": "#FFFFFF"
      }
    },
    "KindB": {
      "icon": {
        "type": "font-awesome",
        "name": "coffee",
        "color": "#000000"
      }
    }
  }
}
'
{
  "data": [
    {
      "id": 123,
      "kindName": "<string>",
      "config": {
        "icon": {
          "type": "<string>",
          "name": "<string>",
          "color": "<string>"
        }
      }
    }
  ]
}
Applies to BloodHound Enterprise and CE

Authorizations

Authorization
string
header
required

Authorization: Bearer $JWT_TOKEN

Headers

Prefer
string
default:wait=30

Prefer header, used to specify a custom timeout in seconds using the wait parameter as per RFC7240.

Body

application/json
custom_types
object

Response

CREATED

data
object[]