Authorizations
API key authentication
Path Parameters
Example:
"my_key_id"
Response
This data structure is the response obtained when retrieving an API key.
This data structure represents the information associated with an API key.
const fetch = require('node-fetch');
let url = 'https://api.coralogix.com/mgmt/openapi/aaa/api-keys/v3/my_key_id';
let options = {method: 'GET', headers: {Authorization: 'Bearer <API_KEY>'}};
fetch(url, options)
.then(res => res.json())
.then(json => console.log(json))
.catch(err => console.error('error:' + err));
{
"keyInfo": {
"active": true,
"hashed": true,
"id": "<string>",
"keyPermissions": {
"permissions": [
"<string>"
],
"presets": [
{
"name": "my_preset",
"permissions": [
[
"read_logs"
]
]
}
]
},
"name": "my_api_key",
"owner": {
"userId": "<string>"
},
"value": "<string>"
}
}
No description available
const fetch = require('node-fetch');
let url = 'https://api.coralogix.com/mgmt/openapi/aaa/api-keys/v3/my_key_id';
let options = {method: 'GET', headers: {Authorization: 'Bearer <API_KEY>'}};
fetch(url, options)
.then(res => res.json())
.then(json => console.log(json))
.catch(err => console.error('error:' + err));
{
"keyInfo": {
"active": true,
"hashed": true,
"id": "<string>",
"keyPermissions": {
"permissions": [
"<string>"
],
"presets": [
{
"name": "my_preset",
"permissions": [
[
"read_logs"
]
]
}
]
},
"name": "my_api_key",
"owner": {
"userId": "<string>"
},
"value": "<string>"
}
}
API key authentication
"my_key_id"
This data structure is the response obtained when retrieving an API key.
This data structure represents the information associated with an API key.
Show child attributes
Was this page helpful?