Skip to main content
Update API Key
curl --request PUT \
  --url https://api.coralogix.com/mgmt/openapi/latest/aaa/api-keys/v3/{key_id} \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "isActive": true,
  "newName": "my_new_name",
  "permissions": {
    "permissions": [
      "<string>"
    ]
  },
  "presets": {
    "presets": [
      "<string>"
    ]
  }
}'
{}

Authorizations

Authorization
string
header
required

API key authentication

Path Parameters

key_id
string
required
Example:

"my_key_id"

Body

application/json

This data structure is used to update an API key.

isActive
boolean
Example:

true

newName
string
Example:

"my_new_name"

permissions
object

This data structure represents a set of permissions on an API key.

presets
object

This data structure represents a set of permissions presets on an API key.

Response

The response is of type object.