Authorizations
API key authentication
Path Parameters
Example:
"my_key_id"
Body
application/json
Response
The response is of type object
.
const fetch = require('node-fetch');
let url = 'https://api.coralogix.com/mgmt/openapi/aaa/api-keys/v3/my_key_id';
let options = {
method: 'PUT',
headers: {Authorization: 'Bearer <API_KEY>', 'content-type': 'application/json'},
body: '{"isActive":true,"newName":"my_new_name","permissions":{"permissions":["string"]},"presets":{"presets":["string"]}}'
};
fetch(url, options)
.then(res => res.json())
.then(json => console.log(json))
.catch(err => console.error('error:' + err));
{}
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: 'PUT',
headers: {Authorization: 'Bearer <API_KEY>', 'content-type': 'application/json'},
body: '{"isActive":true,"newName":"my_new_name","permissions":{"permissions":["string"]},"presets":{"presets":["string"]}}'
};
fetch(url, options)
.then(res => res.json())
.then(json => console.log(json))
.catch(err => console.error('error:' + err));
{}
API key authentication
"my_key_id"
This data structure is used to update an API key.
true
"my_new_name"
This data structure represents a set of permissions on an API key.
Show child attributes
This data structure represents a set of permissions presets on an API key.
Show child attributes
The response is of type object
.
Was this page helpful?