Update API Key
PUT
https://api.coralogix.com/mgmt/openapi/5/aaa/api-keys/v3/{key_id}Updates the specified API key.
Authorizations
Authorizationrequired
API key authentication
The value is a Coralogix API key. Create a personal or team API key and assign its permissions.
Request
Path Parameters
Body
application/json
accessPolicy#string
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.
Example:
{"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#boolean
Whether the API key is active. Set to false to deactivate without deleting.
Example:
trueResponse
application/json
Response returned after successfully updating an API key.