Docs

Users

Create and manage the identities of a project, such as people or service accounts, and their passwords, passkeys and teams.

A user is an identity in a project, such as a person or a service account. Each user has a schema, which defines its attributes, and may hold a password, passkeys and links to accounts at identity providers.

A common sequence is to create a user, then set a password or register a passkey for it. The /users/me operations act on the signed-in user instead of one you name. Pass team_id on create to add the new user as an active team member; there is no standalone membership write path yet. How team membership differs from lifecycle ownership: Access and memberships. See also Project, team, and user.

MethodPathSummary
POST/usersCreate a user
POST/users/queryQuery users
GET/users/{user_id}Get a user by ID
PATCH/users/{user_id}Update a user by ID
DELETE/users/{user_id}Delete a user by ID
GET/users/{user_id}/identity_linksList the provider accounts linked to a user
GET/users/{user_id}/passkeysList a user's passkeys
POST/users/{user_id}/passkeys/registrationsBegin a passkey registration
POST/users/{user_id}/passkeys/registrations/{registration_id}Finish a passkey registration
GET/users/{user_id}/passwordGet a user's password state
PUT/users/{user_id}/passwordSet a user's password
GET/users/{user_id}/teamsList the teams a user belongs to
GET/users/meGet my user information
PATCH/users/meUpdate my user information
GET/users/me/consentsList my consents
DELETE/users/me/consents/{consent_id}Revoke my consent
GET/users/me/identity_linksList the provider accounts linked to me
GET/users/me/passkeysList my passkeys
GET/users/me/passwordGet my password state
GET/users/me/personal_access_tokensList my personal access tokens
POST/users/me/personal_access_tokensCreate a personal access token
DELETE/users/me/personal_access_tokens/{personal_access_token_id}Revoke my personal access token
GET/users/me/schemaGet my user schema
GET/users/me/sessionsList my sessions
GET/users/me/teamsList the teams I belong to

Was this helpful?