Skip to content

IdentityUsersClient

View as Markdown
get(userId): Promise<UserRecord>;
Signature
Parameter Type
userId string

Promise<UserRecord>

GET /v1/identity/users/:userId — a tenant admin, or the person


list(filter?): Promise<UserCollectionPage>;
Signature
Parameter Type
filter? ListIdentityUsersFilter

Promise<UserCollectionPage>

GET /v1/identity/users — requires directory binding; tenant admins only


listSessions(userId): Promise<IdentitySessionCollectionPage>;
Signature
Parameter Type
userId string

Promise<IdentitySessionCollectionPage>

GET /v1/identity/users/:userId/sessions — a tenant admin, or the person; never a key or session limited to a project


revokeSessions(userId, options?): Promise<RevokeSessionsResult>;
Signature
Parameter Type
userId string
options? { idempotencyKey?: string; }
options.idempotencyKey? string

Promise<RevokeSessionsResult>

POST /v1/identity/users/:userId/revoke-sessions — admin op; never a key or session limited to a project