---
title: "PUT /v1/teams/{teamId}"
method: PUT
path: "/v1/teams/{teamId}"
tags: ["TeamService"]
---

# PUT /v1/teams/{teamId}

`PUT /v1/teams/{teamId}`

## Path parameters

- `teamId` string, required

## Request body

- TeamV1UpdateTeamRequest
  - `description` string
  - `name` string
  - `teamId` string
  - `totalQuotaMicros` string — total_quota_micros 可选：传值（>=0）时编辑团队总额度并写团队级额度事件流（member_id=NULL）； 不传时仅改 name/description，不触额度。用 wrapper 区分"未传"与"显式传 0"（清零为合法编辑）。

## Response `200`

OK

- TeamV1UpdateTeamReply
  - `team` TeamV1TeamInfo
    - `availableQuotaMicros` string
    - `createdAt` string, date-time
    - `description` string
    - `name` string
    - `ownerId` string
    - `slug` string
    - `status` integer
    - `subaccountRealnameRequired` boolean
    - `teamId` string
    - `teamType` string
    - `totalQuotaMicros` string
    - `updatedAt` string, date-time
    - `usedQuotaMicros` string

---

[API](https://skmtc.dev/apiqik/apis/apiqik-api.md) · [All operations](https://skmtc.dev/apiqik/apis/apiqik-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/apiqik/apiqik-api/revisions/e06b96127408/schema)
