---
title: "PUT /api/v1/config/teams/{slug}"
method: PUT
path: "/api/v1/config/teams/{slug}"
tags: ["Team"]
---

# PUT /api/v1/config/teams/{slug}

`PUT /api/v1/config/teams/{slug}`

## Path parameters

- `slug` string, required

## Request body

- ConfigV1UpdateTeamBody
  - `team` Configv1Team
    - `slug` string — Unique identifier of the Team. If a `slug` isn't provided, one will be generated based of the `name` field. You can't modify this field after the Team is created.
    - `name` string — Required. Name of the Team. You can modify this value after the Team is created.
    - `created_at` string, date-time — Timestamp of when the Team was created. Cannot be set by clients.
    - `updated_at` string, date-time — Timestamp of when the Team was last updated. Cannot be set by clients.
    - `user_emails` string[] — Unordered set of emails whose users are members of this team.
    - `description` string — Optional short description of the team.
  - `create_if_missing` boolean — If true, the Team will be created if it does not already exist, identified by slug. If false, an error will be returned if the Team does not already exist.
  - `dry_run` boolean — If true, the Team isn't created or updated, and no response Team will be returned. The response will return an error if the given Team is invalid.

## Response `200`

A successful response containing the updated Team.

- Configv1UpdateTeamResponse
  - `team` Configv1Team
    - `slug` string — Unique identifier of the Team. If a `slug` isn't provided, one will be generated based of the `name` field. You can't modify this field after the Team is created.
    - `name` string — Required. Name of the Team. You can modify this value after the Team is created.
    - `created_at` string, date-time — Timestamp of when the Team was created. Cannot be set by clients.
    - `updated_at` string, date-time — Timestamp of when the Team was last updated. Cannot be set by clients.
    - `user_emails` string[] — Unordered set of emails whose users are members of this team.
    - `description` string — Optional short description of the team.

## Other responses

- `400` — Cannot update the Team because the request is invalid.
- `404` — Cannot update the Team because the slug does not exist.
- `409` — Cannot update the Team because there is a conflict with an existing Team.
- `500` — An unexpected error response.
- `default` — An undefined error response.

---

[API](https://skmtc.net/chronosphere/apis/config-v1-api.md) · [All operations](https://skmtc.net/chronosphere/apis/config-v1-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/chronosphere/config-v1-api/versions/530951bd2ccf/schema)
