Update Blocklist
update-blocklistModify a GreyNoise blocklist by updating its GNQL query, name, IP limit, or enabled status to keep threat filtering current.
Instructions
Update a blocklist's query, name, IP limit, or enabled state.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"blocklist_id": "<blocklist_id>",
"query": "<query>"
},
"name": "update-blocklist"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Human-friendly blocklist name | |
| query | Yes | GNQL query whose matching IPs populate the blocklist | |
| enabled | No | Whether the blocklist is active | |
| ip_limit | No | Max IPs to include | |
| blocklist_id | Yes | Blocklist ID (UUID) | |
| workspace_id | No | Workspace ID (UUID). Defaults to the workspace the API key is bound to. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| name | No | ||
| query | No | ||
| token | No | ||
| enabled | No | ||
| ip_limit | No | ||
| created_at | No | ||
| updated_at | No | ||
| workspace_id | No | ||
| last_ip_count | No | ||
| entitlement_level | No | ||
| query_workspace_id | No |