Admin users
Read an account
GET
Auth: Admin key.
bearerheader
AuthorizationBearer <token>An API key in the Authorization header.
id*stringAn opaque, type-prefixed id.
include?stringComma-separated expansions to add: memberships (each organization the account belongs to, and its role, returned by default).
fields?stringComma-separated top-level keys to return in place of the defaults. id always comes back. Valid: id, name, email, admin, memberships, created_at.
The account, with its memberships.
application/json- response
id?stringThe account's id.
name?stringDisplay name.
email?stringEmail address, which is also how they sign in.
admin?booleanThe service-wide admin flag. Orthogonal to any organization role.
memberships?array<>Organizations this account belongs to, oldest first, with its role in each.
created_at?stringISO 8601 timestamp.
curl -X GET 'https://pouch.example.com/v1/admin/users/string'Example Response
{ "id": "string", "name": "string", "email": "string", "admin": true, "memberships": [ { "organization_id": "string", "organization_name": "string", "role": "owner" } ], "created_at": "string"}