DevZero Logo

DevZero

create a dakr cluster, get a cluster token

POST
/v2/teams/{team_id}/dakr/cluster

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 a dakr cluster

cluster_token?string

token of the dakr cluster

created_at?string

creation timestamp

Formatdate-time
id?string

ID of the dakr cluster

namestring

Name of the dakr cluster

team_id?string

team id of the dakr cluster

Response Body

curl -X POST "https://api.devzero.io/backend/v0/v2/teams/string/dakr/cluster" \
  -H "Authorization: string" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "string"
  }'
{
  "cluster_token": "string",
  "created_at": "2019-08-24T14:15:22Z",
  "id": "string",
  "name": "string",
  "team_id": "string"
}
{
  "message": "string"
}
{
  "message": "string"
}
{
  "message": "string"
}
{
  "message": "string"
}
{
  "message": "string"
}
{
  "message": "string"
}
{
  "message": "string"
}
{
  "message": "string"
}
{
  "message": "string"
}