Skip to Content
Pouch
Domains

Remove a domain

DELETE
/v1/domains/{id}

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.

Response Body

Confirms removal. Refuses a domain that has sent messages. Keeps the domain when the provider can't remove it.

application/json
  1. response
id?string

The deleted domain's id.

deleted?boolean

Always true — the route errors instead of returning false.

Example Request
curl -X DELETE 'https://pouch.example.com/v1/domains/string'
Example Response
{  "id": "string",  "deleted": true}