catalog_user.
list_user_api_tokens
list_user_api_tokens(user_id: str)
List all user API tokens.
Parameters
name | type | description |
---|---|---|
user_id | string | User identification string. e.g. "admin" |
Returns
type | description |
---|---|
list[CatalogApiToken] | List of CatalogApiToken instances holding the information about users API tokens. Note that the bearer token is not returned. It will always be None. |
Example
sdk.catalog_user.list_user_api_tokens(user_id="admin")