DevZero Logo
DevZero

Create new Self Hosted Region for team

POST
/teams/{team_id}/regions
/teams/{team_id}/regions

Request Body

application/jsonRequired

create region body

certificate_authority_data
Required
string

Certificate authority data

cluster_name
Required
string

Name of the cluster

region_id
Required
string

ID of the region

server_url
Required
string

URL of the server

service_account_name
Required
string

Name of the service account

service_account_token
Required
string

Token of the service account

slug
Required
string

Slug of the region

Header Parameters

Authorization
Required
string

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

Path Parameters

team_id
Required
string

ID of team

curl -X POST "https://api.devzero.io/backend/v0/teams/string/regions" \
  -H "Authorization: string" \
  -H "Content-Type: application/json" \
  -d '{
    "certificate_authority_data": "string",
    "cluster_name": "string",
    "region_id": "string",
    "server_url": "string",
    "service_account_name": "string",
    "service_account_token": "string",
    "slug": "string"
  }'

region