DevZero Logo
DevZero

Edit a team

PUT
/teams/{team_id}
/teams/{team_id}

Request Body

application/jsonRequired

edit team body

base_image_tagstring

base image tag

environment_variablesarray<object>

reset_invite_tokenboolean

regenerate invite token

team_namestring

team name

Path Parameters

team_id
Required
string

ID of team

Header Parameters

Authorization
Required
string

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

curl -X PUT "https://api.devzero.io/backend/v0/teams/string" \
  -H "Authorization: string" \
  -H "Content-Type: application/json" \
  -d '{
    "base_image_tag": "string",
    "environment_variables": [
      {
        "is_secret": true,
        "name": "string",
        "value": "string"
      }
    ],
    "reset_invite_token": true,
    "team_name": "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"
  }
}