---
title: "Update a Team Name"
method: PATCH
path: "/v3/gfw/teams/{teamId}"
tags: ["Teams"]
---

# Update a Team Name

`PATCH /v3/gfw/teams/{teamId}`

Updates the name of the team

## Request body

- object
  - `name` string, required
  - `layers` string[]

## Response `200`

Single Team

- object
  - `data` object
    - `id` string
    - `type` string
    - `attributes` TeamModel
      - `name` string, required
      - `userRole` 'administrator' | 'manager' | 'monitor' | 'left'
      - `createdAt` string, required
      - `members` TeamMemberModel[]
        - `teamId` string, required
        - `userId` string
        - `email` string, required
        - `role` 'administrator' | 'manager' | 'monitor' | 'left', required
        - `status` 'confirmed' | 'invited' | 'declined', required
        - `name` string
      - `areas` string[]
      - `layers` string[]

## Other responses

- `401` — Error Response
- `403` — Error Response
- `404` — Error Response

---

[API](https://skmtc.net/wri/apis/fw-core.md) · [All operations](https://skmtc.net/wri/apis/fw-core/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/wri/fw-core/revisions/400d22a78fbd/schema)
