DevZero Logo

DevZero

Update a secret for a team

PUT
/teams/{team_id}/secrets/{secret_id}

Path Parameters

team_idstring

ID of team

secret_idstring

ID of secret

Formatuuid

Header Parameters

Authorizationstring

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

update team secret body

is_sensitive?boolean
name?string
Lengthlength <= 128
value?string
Lengthlength <= 512

Response Body

curl -X PUT "https://api.devzero.io/backend/v0/teams/string/secrets/497f6eca-6276-4993-bfeb-53cbbbba6f08" \
  -H "Authorization: string" \
  -H "Content-Type: application/json" \
  -d '{}'
{
  "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"
}