curl --request PATCH \
--url https://bloodhound.specterops.io/openapi.json/api/v2/asset-group-tags/{asset_group_tag_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"description": "<string>",
"require_certify": true,
"position": 123
}
'{
"data": {
"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
}
}
}Updates an asset group tag by ID
curl --request PATCH \
--url https://bloodhound.specterops.io/openapi.json/api/v2/asset-group-tags/{asset_group_tag_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"description": "<string>",
"require_certify": true,
"position": 123
}
'{
"data": {
"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
}
}
}Authorization: Bearer $JWT_TOKEN
Prefer header, used to specify a custom timeout in seconds using the wait parameter as per RFC7240.
ID of an asset group tag
The request body for updating an asset group tag. At least one field is required.
OK
Show child attributes