Scopes Service

Create Scope

Creates a new data access scope.

post/aaa/team-scopes/v1

Request

  • Base URL: https://api.eu1.coralogix.com/mgmt/openapi/5
  • URL: https://api.eu1.coralogix.com/mgmt/openapi/5/aaa/team-scopes/v1
  • Auth: API key in header Authorization

Request body

defaultExpressionstring

The default expression.

descriptionstring

Human-readable description.

displayNamestring required

The display name.

Example request

{
  "defaultExpression": "<v1>true",
  "description": "The best scope",
  "displayName": "my-scope",
  "filters": [
    {
      "expression": "<v1>true"
    }
  ]
}

Response

Example response

{
  "scope": {
    "defaultExpression": "<v1>true",
    "description": "The best scope",
    "displayName": "my-scope",
    "filters": [
      {
        "expression": "<v1>true"
      }
    ],
    "id": "60c82be2-413f-4b8e-8201-7f5c51e2ef2b",
    "teamId": 1234
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.