# Update a team

Source: https://www.supervisible.com/developers/teams/patch-teams-id

PATCH /teams/{team_id}



## PATCH /teams/{team_id}

Rename a team, or set or clear its manager. The manager must be a member of this workspace.

Base URL: https://app.supervisible.com/api/v1

Required scope: write:teams

## Operation contract

The definition below includes parameters, request bodies, response schemas, examples and authentication requirements.

```json
{
  "summary": "Update a team",
  "description": "Rename a team, or set or clear its manager. The manager must be a member of this workspace.",
  "tags": [
    "teams"
  ],
  "security": [
    {
      "bearerAuth": []
    }
  ],
  "x-required-scope": "write:teams",
  "parameters": [
    {
      "in": "path",
      "name": "team_id",
      "required": true,
      "description": "Team ID.",
      "schema": {
        "type": "string",
        "description": "UUID"
      }
    }
  ],
  "requestBody": {
    "required": true,
    "content": {
      "application/json": {
        "schema": {
          "type": "object",
          "properties": {
            "name": {
              "type": "string",
              "minLength": 1,
              "maxLength": 255
            },
            "managerId": {
              "anyOf": [
                {
                  "type": "string",
                  "format": "uuid",
                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                },
                {
                  "type": "null"
                }
              ]
            }
          },
          "additionalProperties": false,
          "example": {
            "managerId": "019cb675-c4df-7f8b-8a83-5f28581f5e7e"
          }
        }
      }
    }
  },
  "responses": {
    "200": {
      "description": "Successful response",
      "content": {
        "application/json": {
          "example": {
            "data": {
              "id": "019cb675-c4d6-7e90-8806-25e5145c3a07",
              "name": "Pod 3",
              "managerId": "019cb675-c4df-7f8b-8a83-5f28581f5e7e",
              "members": [
                {
                  "id": "019cb675-c4df-7f8b-8a83-5f28581f5e7e",
                  "name": "Juan Méndez"
                }
              ],
              "projectIds": [
                "019cb675-c4d6-7e90-8806-25e5145c3a06"
              ],
              "createdAt": "2026-01-06T10:00:00.000Z",
              "updatedAt": "2026-01-07T10:00:00.000Z"
            }
          }
        }
      }
    },
    "400": {
      "description": "Invalid request"
    },
    "401": {
      "description": "Unauthorized"
    },
    "403": {
      "description": "Missing required scope or current member permission"
    },
    "404": {
      "description": "Not found"
    },
    "409": {
      "description": "Conflict; refresh current state and preview again"
    },
    "429": {
      "description": "Rate limited; honor Retry-After"
    }
  }
}
```

## Referenced definitions

```json
{
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "API Key"
      }
    }
  }
}
```

[Complete OpenAPI specification](https://www.supervisible.com/openapi/public-api-v1.json)
