> ## Documentation Index
> Fetch the complete documentation index at: https://kiran.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Update a team

> Update a team

### Path

<ParamField path="slug" type="string" required="true">
  Team slug
</ParamField>

### Body

<ParamField body="name" type="string" required="true">
  Team name
</ParamField>

<ParamField body="slug" type="string" required="true">
  Team slug. It should be unique across all teams.
</ParamField>

<RequestExample>
  ```bash Request
  curl --location --request PUT 'http://localhost:3005/api/teams/acme' \
  --header 'Accept: application/json' \
  --header 'Authorization: Token <token>' \
  --data '{
    "name": "ACME Inc.",
    "slug": "acme"
  }'
  ```
</RequestExample>

<ResponseExample>
  ```json Response
  {
    "data": {
      "id": 1,
      "name": "ACME Inc.",
      "slug": "acme",
      "logo": null,
      "createdAt": "2023-07-02T16:07:08.469Z",
      "updatedAt": "2023-07-02T16:07:08.469Z"
    }
  }
  ```
</ResponseExample>
