Admin users
Delete an account
DELETE
Auth: Admin key.
bearerheader
AuthorizationBearer <token>An API key in the Authorization header.
id*stringAn opaque, type-prefixed id.
Confirms the delete. Takes the account's memberships and sessions with it and revokes the admin keys it created. Organization keys it minted keep sending. The last admin can't be deleted.
application/json- response
id?stringThe deleted account.
email?stringIts address, as it stood before the delete.
deleted?booleanAlways true.
curl -X DELETE 'https://pouch.example.com/v1/admin/users/string'Example Response
{ "id": "string", "email": "string", "deleted": true}