curl --request POST \
--url https://api.coralogix.com/mgmt/openapi/latest/aaa/api-keys/v3 \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"hashed": true,
"keyPermissions": {
"permissions": [
[
"read_logs"
]
],
"presets": [
[
"my_preset"
]
]
},
"name": "my_api_key",
"owner": {
"organisationId": "<string>"
}
}
'{
"keyId": "my_key_id",
"name": "my_api_key",
"value": "my_api_key_value"
}No description available
curl --request POST \
--url https://api.coralogix.com/mgmt/openapi/latest/aaa/api-keys/v3 \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"hashed": true,
"keyPermissions": {
"permissions": [
[
"read_logs"
]
],
"presets": [
[
"my_preset"
]
]
},
"name": "my_api_key",
"owner": {
"organisationId": "<string>"
}
}
'{
"keyId": "my_key_id",
"name": "my_api_key",
"value": "my_api_key_value"
}API key authentication
This data structure is used to create an API key.
true
"my_api_key"
Was this page helpful?