Skip to Content
Pouch
Admin users

Delete an account

DELETE
/v1/admin/users/{id}

Auth: Admin key.

Authorization

bearer
headerAuthorizationBearer <token>

An API key in the Authorization header.

Path Parameters

id*string

An opaque, type-prefixed id.

Response Body

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
  1. response
id?string

The deleted account.

email?string

Its address, as it stood before the delete.

deleted?boolean

Always true.

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