Darkweb Mention Rule Update
PUT
https://api.deepinfo.com/v1/cti/darkweb-mention-rules/{rule_id}Updates a dark web mention rule. Send all fields: name, filters and enabled are required on an update too, so a partial body replaces nothing and returns 400.
Authentication
Send your API key in the apikey request header.
Path Parameters
| Parameter | Required | Description |
|---|---|---|
rule_ | Required | Id of the rule this folder manages, as the matching rule list or search endpoint returns it. Example <rule_id> |
Request Body
| Parameter | Type | Required | Description |
|---|---|---|---|
name | string | Required | min length 1; max length 255 |
filters | object | Required | The filters of the rule; see the example request body |
tags | array | Optional | max items 10 |
enabled | boolean | Required |
application/json
{}
Response Fields
| Field | Type | Description |
|---|---|---|
id | string | Id of the record; pass it to this folder's detail endpoint. |
name | string | The record's name. |
filters | object | The filters saved on this record, in the same shape the search endpoint takes. |
tags | array of string | The tags set on the record. |
enabled | boolean | Whether the record is switched on. |
create_ | string | When the record was created (UTC). |
last_ | string | When the record was last changed (UTC). |
No example response yet. The response's fields are listed above.
Examples
The request and response panels show this example.
- Not Found (nonexistent rule_id)
PUT/cti/darkweb-mention-rules/acme-rule404 Not Found