https://help.tago.io/portal/en/kb/articles/218-authorization Authorization
Optional
verificationCode: stringhttps://help.tago.io/portal/en/kb/articles/218-authorization Authorization
Optional
query: ListTokenQueryRetrieves a paginated list of all service authorization tokens with filtering and sorting options.
https://help.tago.io/portal/en/kb/articles/218-authorization Authorization
If receive an error "Authorization Denied", check policy Service Authorization / Access in Access Management.
const result = await Resources.serviceAuthorization.tokenList({
page: 1,
fields: ["name", "token"],
amount: 20
});
console.log(result); // [ { name: 'API Service Token', token: 'token-xyz-123' } ]
Description
Generates and retrieves a new service authorization token with specified permissions.
See
https://help.tago.io/portal/en/kb/articles/218-authorization Authorization
Example
If receive an error "Authorization Denied", check policy Service Authorization / Create in Access Management.