Authorizations
The access token received from the authorization server in the OAuth 2.0 flow.
Response
200 - application/json
Token
ID of the token
Name of the token
Description of the token
Expiration date of the token (ISO 8601 format)
Get API tokens
curl --request GET \
--url https://api.axiom.co/v2/tokens \
--header 'Authorization: Bearer <token>'
[
{
"datasetCapabilities": {},
"description": "<string>",
"expiresAt": "2023-11-07T05:31:56Z",
"id": "<string>",
"name": "<string>",
"orgCapabilities": {
"annotations": [
"create"
],
"apiTokens": [
"create"
],
"auditLog": [
"read"
],
"billing": [
"read"
],
"dashboards": [
"create"
],
"datasets": [
"create"
],
"endpoints": [
"create"
],
"flows": [
"create"
],
"integrations": [
"create"
],
"monitors": [
"create"
],
"notifiers": [
"create"
],
"rbac": [
"create"
],
"sharedAccessKeys": [
"read"
],
"users": [
"create"
],
"views": [
"create"
]
},
"samlAuthenticated": true,
"viewCapabilities": {}
}
]
The access token received from the authorization server in the OAuth 2.0 flow.
Token
Show child attributes
ID of the token
Name of the token
Show child attributes
Description of the token
Expiration date of the token (ISO 8601 format)
Show child attributes
Was this page helpful?
curl --request GET \
--url https://api.axiom.co/v2/tokens \
--header 'Authorization: Bearer <token>'
[
{
"datasetCapabilities": {},
"description": "<string>",
"expiresAt": "2023-11-07T05:31:56Z",
"id": "<string>",
"name": "<string>",
"orgCapabilities": {
"annotations": [
"create"
],
"apiTokens": [
"create"
],
"auditLog": [
"read"
],
"billing": [
"read"
],
"dashboards": [
"create"
],
"datasets": [
"create"
],
"endpoints": [
"create"
],
"flows": [
"create"
],
"integrations": [
"create"
],
"monitors": [
"create"
],
"notifiers": [
"create"
],
"rbac": [
"create"
],
"sharedAccessKeys": [
"read"
],
"users": [
"create"
],
"views": [
"create"
]
},
"samlAuthenticated": true,
"viewCapabilities": {}
}
]