curl --request PUT \
--url https://api.coralogix.com/mgmt/openapi/5/aaa/api-keys/v3/{key_id} \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"accessPolicy": "{\"version\":\"2025-01-01\",\"default\":{\"permissions\":{\"data-ingest-api-keys:ReadAccessPolicy\":\"grant\",\"data-ingest-api-keys:Manage\":\"deny\",\"data-ingest-api-keys:UpdateAccessPolicy\":\"deny\",\"data-ingest-api-keys:ReadConfig\":\"grant\"}},\"rules\":[]}",
"isActive": true,
"newName": "my_new_name",
"permissions": {
"permissions": [
"<string>"
]
},
"presets": {
"presets": [
"<string>"
]
}
}
'{}No description available
curl --request PUT \
--url https://api.coralogix.com/mgmt/openapi/5/aaa/api-keys/v3/{key_id} \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"accessPolicy": "{\"version\":\"2025-01-01\",\"default\":{\"permissions\":{\"data-ingest-api-keys:ReadAccessPolicy\":\"grant\",\"data-ingest-api-keys:Manage\":\"deny\",\"data-ingest-api-keys:UpdateAccessPolicy\":\"deny\",\"data-ingest-api-keys:ReadConfig\":\"grant\"}},\"rules\":[]}",
"isActive": true,
"newName": "my_new_name",
"permissions": {
"permissions": [
"<string>"
]
},
"presets": {
"presets": [
"<string>"
]
}
}
'{}Documentation Index
Fetch the complete documentation index at: https://docs.coralogix.com/llms.txt
Use this file to discover all available pages before exploring further.
API key authentication
"my_key_id"
This data structure is used to update an API key.
JSON string representing the access policy for this API key. Defines granular permissions for users and groups. To delete an existing policy, pass an empty string.
"{\"version\":\"2025-01-01\",\"default\":{\"permissions\":{\"data-ingest-api-keys:ReadAccessPolicy\":\"grant\",\"data-ingest-api-keys:Manage\":\"deny\",\"data-ingest-api-keys:UpdateAccessPolicy\":\"deny\",\"data-ingest-api-keys:ReadConfig\":\"grant\"}},\"rules\":[]}"
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?