v2

latestOpenAPI 3.1.0CC-BY-SA 2.02026-07-2617789528.6 KB
🧩 Secret management

Update a secret

Update a secret and override the value, the name cannot be overridden

post/secret

Request body

namestring

The name of the secret used as a reference on the value

descriptionstring

The description of the secret to identify it more easily

valuestring

The value of the secret it will not be exposed in the interface

Example request

{
  "name": "secret-password",
  "description": "Password of my super secret user account",
  "value": "nj-k;EO32!kFWewn2Nk,u"
}

Response

Secrets information

result'success' | 'error' required

Result of the request

action'updateSecret' required

The id of the action

Example response

{
  "data": {
    "secrets": [
      {
        "name": "secret-password",
        "description": "Password of my super secret user account"
      }
    ]
  }
}