DevZero Logo

DevZero

Create a secret for a team

POST
/teams/{team_id}/secrets

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 team secret body

Response Body

curl -X POST "https://api.devzero.io/backend/v0/teams/string/secrets" \
  -H "Authorization: string" \
  -H "Content-Type: application/json" \
  -d '[
    {
      "is_sensitive": true,
      "name": "string",
      "value": "string"
    }
  ]'
[
  {
    "is_sensitive": true,
    "name": "string",
    "secret_id": "9e739c43-5a0b-4293-91b3-7c10894ec3f4",
    "value": "string"
  }
]
{
  "message": "string"
}
{
  "message": "string"
}
{
  "message": "string"
}
{
  "message": "string"
}
{
  "message": "string"
}
{
  "message": "string"
}
{
  "message": "string"
}
{
  "message": "string"
}
{
  "message": "string"
}