POST account/unsubscriptions

Unsubscribe user from notifications

Request

URL ( doesn't require authentication )

https://api-lease.crexi.com/account/unsubscriptions

Body Parameters

Email and Hash code are required. For details see POST /account/unsubscriptions API method

Email

string

Required

Data type: EmailAddress

Group

integer

Optional

Hash

string

Required

SavedSearchId

integer

Optional

SenderId

integer

Optional

UnsubscribeReason

string

Optional

Max length: 1000

Example

JSON

{
  "Email": "sample string 1",
  "Group": 1,
  "Hash": "sample string 2",
  "SavedSearchId": 1,
  "SenderId": 1,
  "UnsubscribeReason": "sample string 3"
}

Response

Details

Returns an HTTP 200 OK response code and unsubscribes user from email notifications. Returns 400 Bad Request and an error message otherwise.