v1

latestOpenAPI 3.0.32026-07-24106305257.4 KB
Secrets

Update a Secret

Update an existing secret.

put/secrets/{id}

Path parameters

idstring required

The unique identifier of the secret to update

Request body

OR

Example request

{
  "header_name": "X-Custom-Auth",
  "username": "myuser",
  "password": "my-secure-password"
}

Response

Updated

idstring required
providerstring required
type'bearer' | 'api_key' | 'basic' | 'oauth2' required

Authentication types supported by the secrets service

created_atstring required
last_used_atstring required
sanitized_secretstring required
configstring