Admin organizations
Delete an organization
DELETE
Auth: Admin key.
bearerheader
AuthorizationBearer <token>An API key in the Authorization header.
id*stringAn opaque, type-prefixed id.
Confirms the delete and counts what went with it. Takes the organization's domains, keys, people, lists and send history with it. Shared providers and admin keys belong to the service and are untouched. Refused while it has mail waiting to send or holds the domain the service sends its own mail from. A provider that can't release a domain stops the delete part way; call it again to resume.
application/json- response
id?stringThe deleted organization's id.
deleted?booleanAlways true.
domains?integerDomains deleted, at the provider as well as here.
messages?integerMessages and their events deleted with it.
curl -X DELETE 'https://pouch.example.com/v1/admin/organizations/string'Example Response
{ "id": "string", "deleted": true, "domains": 0, "messages": 0}