Skip to main content
Create Team Group
curl --request POST \
  --url https://api.coralogix.com/mgmt/openapi/latest/aaa/team-groups/v1 \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "description": "<string>",
  "externalId": "<string>",
  "groupType": "GROUP_TYPE_UNSPECIFIED",
  "name": "<string>",
  "nextGenScopeId": "<string>",
  "roleIds": [
    {
      "id": 123
    }
  ],
  "scopeFilters": {
    "applications": [
      {
        "filterType": "FILTER_TYPE_UNSPECIFIED",
        "term": "<string>"
      }
    ],
    "subsystems": [
      {
        "filterType": "FILTER_TYPE_UNSPECIFIED",
        "term": "<string>"
      }
    ]
  },
  "teamId": {
    "id": 123
  },
  "userIds": [
    {
      "id": "<string>"
    }
  ]
}'
{
  "groupId": {
    "id": 123
  }
}

Authorizations

Authorization
string
header
required

API key authentication

Body

application/json

Request to create a new team group with specified name, description, roles, users, and optional scope filters. Can be associated with a specific team or the authenticated team.

description
string
externalId
string
groupType
enum<string>
Available options:
GROUP_TYPE_UNSPECIFIED,
GROUP_TYPE_OPEN,
GROUP_TYPE_CLOSED,
GROUP_TYPE_RESTRICTED
name
string
nextGenScopeId
string
roleIds
object[]
scopeFilters
object
teamId
object
userIds
object[]

Response

Response containing the unique identifier of the newly created team group.

groupId
object

This data structure represents the information associated with a team group.