PUThttps://api.deepinfo.com/v1/easm/discovery/smart-discovery-rules/{rule_id}

Tunes a smart discovery rule with the settings in the request body.

Authentication

Send your API key in the apikey request header.

Path Parameters

ParameterRequiredDescription
rule_idRequired
Example00000000000000000000000e8e040001

Request Body

ParameterTypeRequired
excluded_seed_assetsarrayOptional
excluded_seed_valuesarrayOptional
auto_approvalbooleanRequired
global_blocklistbooleanRequired
enabledbooleanRequired
application/json
{
  "excluded_seed_assets": [],
  "excluded_seed_values": [],
  "auto_approval": false,
  "global_blocklist": true,
  "enabled": true
}

Response Fields

FieldType
idstring
namestring
descriptionstring
excluded_seed_assetsarray of string
excluded_seed_valuesarray of string
auto_approvalboolean
global_blocklistboolean
enabledboolean

Response Schema

Inferred from examples Built from the saved 2xx example response: the fields it contains, with the types seen there. It is not a contract.

FieldTypeExample
idstring"00000000000000000000000e8e040001"
namestring"Main domains"
descriptionnull
excluded_seed_assetsarray
excluded_seed_valuesarray
auto_approvalbooleanfalse
global_blocklistbooleantrue
enabledbooleantrue

Examples

Selecting one loads it into the request and response panels.

Reference updated