Skip to Content
Pouch
Domains

Unsubscribe an address from every list on a domain

POST
/v1/domains/{id}/unsubscribe

Auth: Bearer key scoped to the domain.

Authorization

bearer
headerAuthorizationBearer <token>

An API key in the Authorization header.

Path Parameters

id*string

An opaque, type-prefixed id.

Request Body

application/json
  1. body
address*string

Address to unsubscribe.

Length3 <= length

Response Body

Confirms the unsubscribe. Emits email.unsubscribed.

application/json
  1. response
address?string

The address unsubscribed.

Example Request
curl -X POST 'https://pouch.example.com/v1/domains/string/unsubscribe' \  -H 'Content-Type: application/json' \  -d '{  "address": "string"}'
Example Response
{  "address": "string"}