API Reference / Teams

Delete team

delete 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: deleteTeam

Deletes a team and removes all contributor assignments

Example request

curl -X DELETE "https://api.intelig.ai/api/v1/intelig/teams" \
  -H "Authorization: ApiKey $INTELIG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "teamId": 5
  }'

Request body

application/json

FieldTypeRequiredDescription
teamId integer (int64) yes ID of the team to delete Example: 5

Response 200

application/json · ApiResponseVoid

FieldTypeDescription
success boolean
message string
data object

Status codes

  • 200 — Team deleted successfully
  • 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.