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
| Field | Type | Required | Description |
|---|---|---|---|
teamId | integer (int64) | yes | ID of the team to delete Example: 5 |
Response 200
application/json · ApiResponseVoid
| Field | Type | Description |
|---|---|---|
success | boolean | — |
message | string | — |
data | object | — |
Status codes
200— Team deleted successfully401— Not authenticated403— Insufficient permissions to access code intelligence pillar404— Team not found429— —
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.