---
title: "Repo Write Body"
method: PUT
path: "/v1/teams/{team_id}/repo/body"
tags: ["team repo"]
---

# Repo Write Body

`PUT /v1/teams/{team_id}/repo/body`

## Path parameters

- `team_id` string, uuid, required

## Headers

- `authorization` string, nullable
- `x-darwin-token` string, nullable

## Request body

- BodyWrite
  - `path` string, required
  - `body` string, required
  - `expected_body` string, required

## Response `200`

Successful Response

- BodySaved
  - `path` string, required
  - `body` string, required
  - `commit` string, required
  - `unchanged` boolean, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/stormy/apis/stormy-control-plane.md) · [All operations](https://skmtc.dev/stormy/apis/stormy-control-plane/llms.txt) · [OpenAPI document](https://skmtc.dev/stormy/apis/stormy-control-plane/revisions/b09e3c4ee2af?raw)
