DevZero Logo
DevZero

Create a team

POST
/teams
/teams

Request Body

application/jsonRequired

create team body

name
Required
string

Display name of team

Minimum length: 1

namespacestring

unique name for team, derived from name if not provided

Pattern: "^[a-z0-9-]+$"

Header Parameters

Authorization
Required
string

Value: "Bearer <token>"; visit the "User Settings" page in the DevZero dashboard to generate a token

curl -X POST "https://api.devzero.io/backend/v0/teams" \
  -H "Authorization: string" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "string",
    "namespace": "string"
  }'

OK

{
  "available_regions": [
    {
      "id": "string",
      "latitude": 0,
      "longitude": 0,
      "name": "string",
      "provided_by": "string"
    }
  ],
  "base_image_tag": "string",
  "dora_dashboard": {
    "is_ready": true,
    "type": "string",
    "url": "string"
  },
  "environment_variables": [
    {
      "is_secret": true,
      "name": "string",
      "value": "string"
    }
  ],
  "id": "string",
  "invite_token": "string",
  "name": "string",
  "namespace": "string",
  "oda_dashboard": {
    "is_ready": true,
    "type": "string",
    "url": "string"
  },
  "payment_type": "FREE",
  "product": "FREE",
  "usage_dashboard": {
    "is_ready": true,
    "type": "string",
    "url": "string"
  }
}