Skip to main content
Update Scope
curl --request PUT \
  --url https://api.coralogix.com/mgmt/openapi/latest/aaa/team-scopes/v1 \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "defaultExpression": "<v1>true",
  "description": "The best scope",
  "displayName": "my-scope",
  "filters": [
    {
      "entityType": "ENTITY_TYPE_UNSPECIFIED",
      "expression": "<v1>true"
    }
  ],
  "id": "60c82be2-413f-4b8e-8201-7f5c51e2ef2b"
}'
{
  "scope": {
    "defaultExpression": "<v1>true",
    "description": "The best scope",
    "displayName": "my-scope",
    "filters": [
      {
        "entityType": "ENTITY_TYPE_UNSPECIFIED",
        "expression": "<v1>true"
      }
    ],
    "id": "60c82be2-413f-4b8e-8201-7f5c51e2ef2b",
    "teamId": 1234
  }
}

Authorizations

Authorization
string
header
required

API key authentication

Body

application/json

This data structure represents a request to update a scope

defaultExpression
string
required
Example:

"<v1>true"

displayName
string
required
Example:

"my-scope"

filters
Filter · object[]
required
id
string
required
Example:

"60c82be2-413f-4b8e-8201-7f5c51e2ef2b"

description
string
Example:

"The best scope"

Response

This data structure represents a response to update a scope

scope
object
required

This data structure represents a scope