Admin/Add Agent Teams
POST /v1/admin/agents/{id}/teams

Add Agent Teams

Base URL https://api.{cluster}.{platform}.voiger.io
Request · cURL
curl -X POST https://api.{cluster}.{platform}.voiger.io/v1/admin/agents/{id}/teams \
  -H "Cookie: sid=$VOIGER_SESSION" \
  -H "x-workspace-code: your-workspace-code" \
  -H "x-csrf-token: $CSRF_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
       "teams": [
         {
           "id": "ff3bfada-11b2-464e-adaf-ce645ccc917c"
         },
         {
           "id": "abcbfada-11b2-464e-adaf-ce645ccc917c"
         }
       ]
     }'

Parameters

id string required in path
The agent id
x-workspace-code string required in header
x-csrf-token string required in header

Response

teams▾
array
id
string
name
string
image▾
object
id
string