Unsubscribe from report REST API
GET
/api/reports/unsubscribe/{opaque_token}
const url = 'http://127.0.0.1:25737/api/reports/unsubscribe/example';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url http://127.0.0.1:25737/api/reports/unsubscribe/exampleVisible unsubscribe target that opts the signed recipient out of one report.
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”opaque_token
required
string
Opaque signed unsubscribe token.
Responses
Section titled “Responses”Unsubscribed
Invalid token
Media typeapplication/json
object
message
string
Examplegenerated
{ "message": "example"}