catalog_user.

get_user_api_token

get_user_api_token(user_id: str, api_token_id: str)

Get user api token.

Parameters

nametypedescription
user_idstringUser identification string. e.g. "admin"
api_token_idstringAPI token identification string. e.g. "admin_token"

Returns

typedescription
CatalogApiTokenInstance 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")