API Reference / Teams

Update team

put https://api.intelig.ai/api/v1/intelig/teams

Auth: Authorization: ApiKey <key> (an API key sent as Bearer is rejected) or Authorization: Bearer <jwt> for a dashboard session. operationId: updateTeam

Updates team name and contributor assignments

Example request

curl -X PUT "https://api.intelig.ai/api/v1/intelig/teams" \
  -H "Authorization: ApiKey $INTELIG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "teamId": 5,
    "name": "Platform Engineering (Revised)",
    "contributorIds": [
      1,
      2,
      5,
      8
    ]
  }'

Request body

application/json

FieldTypeRequiredDescription
teamId integer (int64) yes ID of the team to update Example: 5
name string yes Updated team name Example: Platform Engineering (Revised)
contributorIds integer[] no Updated list of contributor IDs as team members Example: [1,2,5,8]

Response 200

application/json · ApiResponseVoid

FieldTypeDescription
success boolean
message string
data object

Status codes

  • 200 — Team updated successfully
  • 400 — Invalid request body
  • 401 — Not authenticated
  • 403 — Insufficient permissions to access code intelligence pillar
  • 404 — Team not found
  • 429 — —

Every response is wrapped in { success, message, data }. A 4xx means the request is wrong — do not retry it unchanged. A 429 carries Retry-After in seconds.