Skip to main content
Update Retentions
curl --request POST \
  --url https://api.coralogix.com/mgmt/openapi/latest/dataengine/retention-tags/v1 \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "retentionUpdateElements": [
    {
      "id": "<string>",
      "name": "<string>"
    }
  ]
}'
{
  "retentions": [
    {
      "editable": true,
      "id": "<string>",
      "name": "<string>",
      "order": 123
    }
  ]
}

Authorizations

Authorization
string
header
required

API key authentication

Body

application/json

This data structure is used to update retentions

retentionUpdateElements
object[]
required

Response

This data structure is obtained after updating retentions

retentions
Retention · object[]
required