Skip to main content
PATCH
Update 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.

Path Parameters

id
string
required

ID of an exclusion rule.

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