---
title: "Create team"
method: POST
path: "/orgs/{orgId}/teams"
tags: ["teams"]
---

# Create team

`POST /orgs/{orgId}/teams`

Creates a new team in the organization identified by the given `orgId`.

## Path parameters

- `orgId` integer, required

## Request body

- CreateTeamRequest
  - `team` Team
    - `id` integer, nullable
    - `name` string, required
    - `description` string
    - `dateCreated` string, date-time
    - `lastUpdated` string, date-time
  - `avatarId` string

## Response `200`

OK

- CreateTeamResponse
  - `team` TeamDbDto
    - `teamId` integer
    - `name` string
    - `description` string
    - `avatarUrl` string
    - `membersCount` integer

## Other responses

- `400` — Bad request
- `403` — Operation not allowed
- `409` — Duplicated element

---

[API](https://skmtc.dev/seqeralabs/apis/seqera-api.md) · [All operations](https://skmtc.dev/seqeralabs/apis/seqera-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/seqeralabs/seqera-api/revisions/d86e2935c8e2/schema)
