DevZero Logo
DevZero

Create a secret for a team

POST
/teams/{team_id}/secrets
/teams/{team_id}/secrets

Request Body

application/jsonRequired

create team secret body

body
Required
array<object>

Header Parameters

Authorization
Required
string

Value: "Bearer <token>"; visit the "User Settings" page in the DevZero dashboard to generate a token

Path Parameters

team_id
Required
string

ID of team

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"
    }
  ]'

created team secret

[
  {
    "is_sensitive": true,
    "name": "string",
    "value": "string"
  }
]