Skip to main content
POST
/
io.pocketenv.secret.updateSecret
cURL
curl --request POST \
  --url https://api.pocketenv.io/xrpc/io.pocketenv.secret.updateSecret \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "id": "<string>",
  "secret": {
    "name": "<string>",
    "value": "<string>",
    "sandboxId": "<string>"
  },
  "redacted": "<string>"
}
'
{
  "error": "<string>",
  "message": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
id
string
required

The ID of the secret to update.

secret
object
required
redacted
string

The redacted secret value.

Response

OK