create a dakr cluster, get a cluster token
POST
/
v2
/teams
/{team_id}
/dakr
/cluster
Request Body
application/json
Requiredcreate a dakr cluster
cluster_token
string
token of the dakr cluster
created_at
string
creation timestamp
Format:
"date-time"
id
string
ID of the dakr cluster
name
Requiredstring
Name of the dakr cluster
team_id
string
team id of the dakr cluster
Path Parameters
team_id
Requiredstring
ID of team
Header Parameters
Authorization
Requiredstring
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/v2/teams/string/dakr/cluster" \
-H "Authorization: string" \
-H "Content-Type: application/json" \
-d '{
"cluster_token": "string",
"created_at": "2019-08-24T14:15:22Z",
"id": "string",
"name": "string",
"team_id": "string"
}'
OK
{
"cluster_token": "string",
"created_at": "2019-08-24T14:15:22Z",
"id": "string",
"name": "string",
"team_id": "string"
}