Skip to main content
POST
Create Exclusion Rule

Authorizations

Authorization
string
header
required

The primary authentication method for the Mezmo API.

Pass the key in the Authorization header in the format Token <ACCESS TOKEN>. For example:

This key is used for all APIs with the exception of ingest.

Body

application/json

Request parameters

title
string
required
Minimum string length: 1
hosts
string[]

Comma-separated list of hosts.

apps
string[]

Comma-separated list of applications.

active
boolean
default:false
indexonly
boolean
default:true
query
string

Search query.

Response

OK

title
string
required
Minimum string length: 1
hosts
string[]

Comma-separated list of hosts.

apps
string[]

Comma-separated list of applications.

active
boolean
default:false
indexonly
boolean
default:true
query
string

Search query.

id
string
read-only
Minimum string length: 1