Create a network key for a team, this is a legacy API and will create a key for the oldest network belonging to the team
Path Parameters
team_idstring
Header Parameters
Authorizationstring
create network key for team body
ephemeral?boolean
should this node be removed once inactive?
expiration?string
when should this key expire? (RFC3339 format)
Format
date-time
name?string
Name of the key
reusable?boolean
can this key be used to authenticate more than one node?
Response Body
curl -X POST "https://api.devzero.io/backend/v0/teams/string/network-keys" \
-H "Authorization: string" \
-H "Content-Type: application/json" \
-d '{}'
{
"ephemeral": true,
"expiration": "2019-08-24T14:15:22Z",
"id": "string",
"key": "string",
"name": "string",
"reusable": true
}
{
"message": "string"
}
{
"message": "string"
}
{
"message": "string"
}
{
"message": "string"
}
{
"message": "string"
}
{
"message": "string"
}
{
"message": "string"
}
{
"message": "string"
}
{
"message": "string"
}