Skip to main content
ConfigureTenant
curl --request POST \
  --url https://api.coralogix.com/mgmt/openapi/3/metrics/data-setup/v1 \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "ibm": {
    "crn": "crn:v1:bluemix:public:cloud-object-storage:global:a/1234567890abcdef1234567890abcdef:12345678-1234-1234-1234-1234567890ab::",
    "endpoint": "s3.us-south.cloud-object-storage.appdomain.cloud",
    "serviceCrn": "crn:v1:bluemix:public:cloud-object-storage:global:a/1234567890abcdef1234567890abcdef:12345678-1234-1234-1234-1234567890ab::"
  },
  "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.

ibm
IBM Bucket Configuration · object

This data structure is used to configure an IBM bucket.

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.