Skip to main content
POST

Headers

Authorization
string
required

Bearer [access_token]

Content-Type
string
required

application/json

Path Parameters

leadId
integer<int64>
required

ID of the lead whose alerts to pause.

Required range: x >= 1

Body

application/json

Give either categories or savedSearchIds, not both.

categories
enum<string>[]

Pause every saved search of the lead of the given kinds. Give either categories or savedSearchIds, not both.

Available options:
PROPERTY_ALERT,
MARKET_SNAPSHOT
savedSearchIds
integer<int64>[]

Pause the listed saved searches of the lead, whatever their kind. Give either categories or savedSearchIds, not both. A repeated id is paused once.

Response

Success. A request rejected by validation or by a business rule also answers HTTP 200, with {"code": <error code>, "message": "..."} in place of the result: check code in the body, not the HTTP status. Codes are listed under Errors in the Saved Searches section.

results
object[]

One entry per saved search the call selected