catalog_user.
get_user_api_token
get_user_api_token(user_id: str, api_token_id: str)
Get user api token.
Parameters
name | type | description |
---|---|---|
user_id | string | User identification string. e.g. "admin" |
api_token_id | string | API token identification string. e.g. "admin_token" |
Returns
type | description |
---|---|
CatalogApiToken | Instance of CatalogApiToken holding the information about API token. Note that the bearer token is not returned. It will always be None. |
Example
sdk.catalog_user.get_user_api_token(user_id="admin", api_token_id="admin_token")