API referenceTeams
`POST /teams/{id}/transfers` — move everything the team owns to another team, except its installations, which are uninstalled instead. Admins only.
POST
/teams/{id}/transfersPath Parameters
id*string
Team id
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
POST /teams/{id}/transfers body: the team that takes over everything this
team owns, except its installations.
Response Body
application/json
curl -X POST "https://example.com/teams/string/transfers" \ -H "Content-Type: application/json" \ -d '{ "to_team_id": "string" }'{ "moved": 0}