Create new Self Hosted Region for team
Path Parameters
team_idstring
ID of team
Header Parameters
Authorizationstring
Value: "Bearer <token>"; visit the "User Settings" page in the DevZero dashboard to generate a token
create region body
certificate_authority_datastring
Certificate authority data
cluster_namestring
Name of the cluster
region_idstring
ID of the region
server_urlstring
URL of the server
service_account_namestring
Name of the service account
service_account_tokenstring
Token of the service account
slugstring
Slug of the region
Response Body
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"
}'
Empty
{
"message": "string"
}
{
"message": "string"
}
{
"message": "string"
}
{
"message": "string"
}
{
"message": "string"
}
{
"message": "string"
}
{
"message": "string"
}
{
"message": "string"
}
{
"message": "string"
}