---
title: "Update Team Ai Agent Settings"
method: PATCH
path: "/api/identity/teams/{team_key}/ai-agent"
tags: ["identity"]
---

# Update Team Ai Agent Settings

`PATCH /api/identity/teams/{team_key}/ai-agent`

## Request

- Base URL: `https://api.superit.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.superit.ai/api/identity/teams/{team_key}/ai-agent`
- Auth: HTTP bearer

Update team AI agent settings (name, language, instructions). Admin only.

## Path parameters

- `team_key` string, required

## Request body

- TeamAiAgentUpdateBody: Request body for updating team AI agent settings. Covers the agent's display name, language and prompt context.
  - `displayName` string
  - `language` 'en-AU' | 'en-US', required: Supported team languages (locale codes stored on identity.team).
  - `llmInstructions` string, nullable

## Response `200`

Successful Response

- TeamAiAgentSettingsResponse: Team AI agent settings for API responses.
  - `displayName` string, required
  - `editable` boolean, required
  - `managedByTeamName` string, nullable
  - `language` 'en-AU' | 'en-US', required: Supported team languages (locale codes stored on identity.team).
  - `llmInstructions` string, nullable

## Other responses

- `400`: Invalid input
- `401`: Not authenticated
- `403`: Forbidden
- `404`: Not found
- `405`: Method not allowed
- `409`: Conflict
- `422`: Validation Error

---

[API](https://skmtc.dev/superit/apis/super-it-api.md) - [All operations](https://skmtc.dev/superit/apis/super-it-api/llms.txt) - [OpenAPI document](https://skmtc.dev/superit/apis/super-it-api/revisions/4944d556c2bb?raw)
