Skip to main content
POST
Add a web search domain rule

Path Parameters

projectId
string<uuid>
required

Project to read or change.

Body

application/json
domain
string
required

A domain or URL; it is reduced to its bare host.

Minimum string length: 1
mode
enum<string>
required

allow: web search results must come from an allowed domain. deny: results from the domain are dropped.

Available options:
allow,
deny

Response

200 - application/json

OK

id
string<uuid>
required
domain
string
required

The bare host the rule matches.

mode
enum<string>
required

allow: web search results must come from an allowed domain. deny: results from the domain are dropped.

Available options:
allow,
deny