PUThttps://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

ParameterRequiredDescription
rule_idRequired
Id of the rule this folder manages, as the matching rule list or search endpoint returns it.
Example<rule_id>

Request Body

ParameterTypeRequiredDescription
namestringRequired
min length 1; max length 255
filtersobjectRequired
The filters of the rule; see the example request body
tagsarrayOptional
max items 10
enabledbooleanRequired
application/json
{}

Response Fields

FieldTypeDescription
idstring
Id of the record; pass it to this folder's detail endpoint.
namestring
The record's name.
filtersobject
The filters saved on this record, in the same shape the search endpoint takes.
tagsarray of string
The tags set on the record.
enabledboolean
Whether the record is switched on.
create_datestring
When the record was created (UTC).
last_update_datestring
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

Reference updated