Flow
Menu

Reference

Rename a team, or replace its members

The update-team tool, and the REST call it is generated from.

RESTPATCH /api/v1/teams/{id}
MCPupdate-team

Writes only the fields sent. members replaces the whole set, so send everyone who stays.

Parameters

  • idpath · required · string

    The team's team_… id, as get-project lists it.

Body

This operation takes a JSON body. The spec is the contract and it is what the agent reads every turn — seepackages/server/src/rest/openapi/v1/for the shape.

Responses

200The team
400The request body or query string does not match the operation's schema
401No Flow access token was presented, or it is not valid
404No such project, or none this caller is a member of

Generated from the spec this operation is implemented against, so the two names above cannot disagree with the surface a client sees.