Send a browser opening the unsubscribe URL to the unsubscribe page
GET
/api/v1/public/team-address/unsubscribe
const url = 'https://api.deploybase.eu/api/v1/api/v1/public/team-address/unsubscribe?team=example&token=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 'https://api.deploybase.eu/api/v1/api/v1/public/team-address/unsubscribe?team=example&token=example'A mail client without RFC 8058 support opens the List-Unsubscribe URL in a browser. A GET never unsubscribes (link scanners fetch it too): it redirects to the frontend page, which asks for one click and then makes the one-click POST.
Parameters
Section titled “ Parameters ”Query Parameters
Section titled “ Query Parameters ” team
required
string
Team ID
token
required
string
Unsubscribe token
Responses
Section titled “ Responses ”See Other
No frontend configured
object
code
string
details
error
string
meta
object
request_id
string
timestamp
string
trace_id
string
Live 174db30c built