Authorizations
API key authentication
Path Parameters
Response
A successful 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/v3/api_keys/%7BkeyId%7D';
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": {
"name": "my_api_key",
"owner": {
"userId": "<string>",
"teamId": 123,
"organisationId": "<string>"
},
"active": true,
"hashed": true,
"keyPermissions": {
"presets": [
{
"name": "my_preset",
"permissions": [
"read_logs"
]
}
],
"permissions": [
"<string>"
]
},
"value": "<string>",
"id": "<string>"
}
}
No description available
const fetch = require('node-fetch');
let url = 'https://api.coralogix.com/mgmt/openapi/v3/api_keys/%7BkeyId%7D';
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": {
"name": "my_api_key",
"owner": {
"userId": "<string>",
"teamId": 123,
"organisationId": "<string>"
},
"active": true,
"hashed": true,
"keyPermissions": {
"presets": [
{
"name": "my_preset",
"permissions": [
"read_logs"
]
}
],
"permissions": [
"<string>"
]
},
"value": "<string>",
"id": "<string>"
}
}
API key authentication
A successful response.
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?