# Create Team

> This endpoint creates a new team.

## Endpoint

`POST https://api.upstash.com/v2/team`

## Request body

- `team_name` (string, required): Name of the new team
- `copy_cc` (boolean, required): Whether to copy existing credit card information to team or not

## Responses

### 200 - Team created successfully

- `team_id` (string): ID of the team
- `team_name` (string): Name of the team
- `copy_cc` (boolean): Whether creditcard information added to team during creation or not

## cURL

```bash
curl --request POST \
  --url https://api.upstash.com/v2/team \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
    "team_name": "myteam",
    "copy_cc": true
  }'
```
