Skip to main content
You are viewing v3 of the Coralogix API. v5 is the current version. Go to the v5 reference

Create API Key

POSThttps://api.coralogix.com/mgmt/openapi/3/aaa/api-keys/v3

No description available

Authorizations

Authorizationstringheaderrequired
API key authentication

Request

Body

application/json
    accessPolicy#string

    JSON string representing the access policy for this API key. Defines granular permissions for users and groups.

    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":[]}
    hashed#boolean
    Example: true

    This data structure allows to specify loose permissions and permission presets for an API key.

    name#string
    Example: my_api_key
    owner#objectoneOf
    owner.userId#string

Response

application/json

This data structure is the response obtained when creating an API key.

    keyId#string
    Example: my_key_id
    name#string
    Example: my_api_key
    value#string
    Example: my_api_key_value