Create a secret for a user
Header Parameters
Authorizationstring
Value: "Bearer <token>"; visit the "User Settings" page in the DevZero dashboard to generate a token
create user secret body
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://api.devzero.io/backend/v0/users/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"
}