Skip to main content
ConfigureTenant
curl --request POST \
  --url https://api.coralogix.com/mgmt/openapi/5/metrics/data-setup/v1 \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "gcs": {
    "bucket": "<string>"
  },
  "retentionPolicy": {
    "fiveMinutesResolution": 2,
    "oneHourResolution": 3,
    "rawResolution": 1
  }
}
'
{}

Authorizations

Authorization
string
header
required

API key authentication

Body

application/json

This data structure is used to configure a tenant.

gcs
GCS Configuration · object
required

This data structure represents the GCS configuration for a tenant.

retentionPolicy
Retenion Policy Request · object

This data structure is used to set the retention policy for a tenant.

Response

The response is of type object.