Procesar cancelacion (one-click RFC 8058)
POST
/unsubscribe
const url = 'https://api.mailerdash.com/unsubscribe';const options = { method: 'POST', headers: {'Content-Type': 'application/x-www-form-urlencoded'}, body: new URLSearchParams({token: 'example'})};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://api.mailerdash.com/unsubscribe \ --header 'Content-Type: application/x-www-form-urlencoded' \ --data token=exampleParameters
Sección titulada « Parameters »Query Parameters
Sección titulada «Query Parameters » token
string
Request Body
Sección titulada «Request Body » Media type application/x-www-form-urlencoded
object
token
string
Example generated
token=exampleResponses
Sección titulada « Responses »Confirmacion HTML
Media type text/html
string