Depending on the type of Authorization token, you can "get" Authorization tokens as follows:
Tokens of type login cannot be retrieved via API.
Valid tokens of type api can only be listed by using an active api Authorization key-token pair to sign the request.
An active Authorization token of type embed can only be retrieved by specifying its key (i.e. id ) in the where clause, and using an active embed Authorization key-token pair to sign the request.
npm install @luzmo/nodejs-sdk{
"count": 1,
"rows": [
{
"id": "c6dcefe7-a0f8-4837-9050-ba4617691a28",
"type": "api",
"description": "Token for my production app",
"expiry": "9999-12-31T00:00:00.000Z",
"inactivity_interval": null,
"ip": null,
"securables": null,
"filters": null,
"screenmode": null,
"width": null,
"height": null,
"user_id": "477086f8-2ad2-4e5f-8aaf-de209f69b9bb",
"locale_id": null,
"timezone_id": null,
"last_used_at": "2024-08-13T08:29:30.000Z",
"created_at": "2024-08-13T08:29:30.099Z",
"updated_at": "2024-08-13T08:29:30.099Z",
"deleted_at": null,
"username": null,
"name": null,
"email": null,
"metadata": null,
"hidden_columns": null,
"account_overrides": null,
"parameter_overrides": null,
"feature_overrides": [
"!flag_alerting",
"flag_opendataboard"
],
"css": null,
"suborganization": null,
"role": null,
"environment": "production",
"access": null,
"integration_id": null,
"currency_id": null,
"theme_id": null,
"iq": null
}
]
}