One-click opt-out
POST
/cities/unsubscribe
The List-Unsubscribe-Post target (RFC 8058) and the page's button: turns off that city's weekly digest (kind=digest) or instant alerts (kind=instant) for the follow the token names, and keeps the follow. Idempotent. No session: the token is the authorization. A mail client gets JSON; a browser form (it asks for text/html) is redirected to Settings, /profile/settings?city_digest_off={slug} for a digest.
Parameters
Query Parameters
token*
Type
Requiredstring
Format
"uuid"kind
Type
string
Valid values
"digest""instant"Default
"digest"Responses
Turned off
application/json
JSON
{
"data": "string"
}