v51

OpenAPI 3.0.3raw.githubusercontent.com2026-06-2900319.8 KB

ListUserAuthTokens lists the current user's auth tokens. You can optionally pass "current" instead of the user ID to list the current user's tokens.

get/v1/users/{userId}/tokens

Path parameters

userIdstring required

User ID to list auth tokens for. Set to "current" to list auth tokens for the current user.

Query parameters

pageSizeinteger

Page size for pagination. If not set, a default page size will be used.

pageTokenstring

Page token for pagination. If set, the first page of results will be returned.

superuserForceAccessboolean

Flag for superusers to override normal access checks.

refreshboolean

Flag to filter only refresh tokens. If not set, all tokens will be displayed. If false, only returns access tokens (non-refresh).

Response

A successful response.

nextPageTokenstring

Page token for the next page of results. If empty, there are no more pages.