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