Domains
Remove a domain
DELETE
Auth: Bearer key scoped to the domain.
bearerheader
AuthorizationBearer <token>An API key in the Authorization header.
id*stringAn opaque, type-prefixed id.
Confirms removal. Refuses a domain that has sent messages. Keeps the domain when the provider can't remove it.
application/json- response
id?stringThe deleted domain's id.
deleted?booleanAlways true — the route errors instead of returning false.
curl -X DELETE 'https://pouch.example.com/v1/domains/string'Example Response
{ "id": "string", "deleted": true}