Skip to main content
Reorder Policies
curl --request POST \
  --url https://api.coralogix.com/mgmt/openapi/latest/dataplans/policies/v1/reorder \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "orders": [
    {
      "id": "id",
      "order": 1
    }
  ],
  "sourceType": "SOURCE_TYPE_UNSPECIFIED"
}
'
{
  "orders": [
    {
      "id": "id",
      "order": 1
    }
  ]
}

Authorizations

Authorization
string
header
required

API key authentication

Body

application/json

This data structue is used to reorder policies.

orders
Policy Order · object[]
required
sourceType
enum<string>
required
Available options:
SOURCE_TYPE_UNSPECIFIED,
SOURCE_TYPE_LOGS,
SOURCE_TYPE_SPANS

Response

This data structure is obtained when reordering policies.

orders
Policy Order · object[]
required