Create API Key
https://api.eu1.coralogix.com/mgmt/openapi/5/aaa/api-keys/v3Creates a new API key for the authenticated team.
Authorizations
Request
Body
JSON string representing the access policy for this API key. Defines granular permissions for users and groups. An empty string is no policy. A key that a team owns accepts only team-custom-api-keys permissions in the policy.
{"version":"2025-01-01","default":{"permissions":{"team-custom-api-keys:ReadAccessPolicy":"grant","team-custom-api-keys:Manage":"deny","team-custom-api-keys:UpdateAccessPolicy":"deny","team-custom-api-keys:ReadConfig":"grant"}},"rules":[]}Whether the value is stored as a one-way hash. Omitting it is the same as false. The API cannot read the value of a hashed key again.
trueThis data structure allows to specify loose permissions and permission presets for an API key.
Display name. Not unique: another key can have the same name.
Possible values: non-empty
my_api_keyOwner of the key. A key that a team owns can be created only for the team of the caller. An organisation cannot own a key that this operation creates: it answers 400.
Response
This data structure is the response obtained when creating an API key. Read the key with the get operation.
The value of the key. A hashed key has it here too, once: the get operation never returns the value of a hashed key.
my_api_key_value