Newsletter management

Unsubscribe

Endpoint

POST https://api.mediego.com/1.0/recommendations/unsubscribe

Parameters

Name Description
engine Client ID (provided by Mediego)
source Configuration ID (provided by Mediego)
email Email of the user
euid Client user ID
debug (optional) Specify if the request is only for debug and thus should not be recorded

The parameters must be sent as a JSON object in the body of the request, as following:

{
    "engine": string,
    "source": string,
    "email": string,
    "euid": string,
    "debug": boolean
}

Response

Success

{
    "success": string // Description of the operation
}

Error

{
    "error": string // Description of the error    
}