settings

Update a secret

[cloud-only] Updates an existing secret's name and/or value. Both fields are optional; only provided fields are updated.

patch/api/secrets/{id}

Path parameters

idstring uuid required

The secret ID.

Request body

namestring

New name for the secret

secret_valuestring

New secret value (API key, token, etc.)

Response

Secret updated

idstring required
namestring required
providerstring

[cloud-only] Provider identifier (e.g., huggingface, civitai).

last_used_atstring date-time

[cloud-only] When the secret was last used for decryption.

created_atstring date-time
updated_atstring date-time

Changes