v1

latestOpenAPI 3.1.0AGPL-3.02026-07-17644498.1 KB
Variables

Update a variable

Update an existing text or secret variable's key, value, secret flag, or description. File-type variables must be managed through the project UI upload workflow.

put/api/variables/{id}

Request body

keystring
valuestring
isSecretboolean
descriptionstring

Response

Variable updated

idstring uuid
projectIdstring uuid
keystring
type'variable' | 'secret' | 'file'

Variable type. File variables expose metadata in API responses; file contents are not returned.

valuestring

Plaintext for regular variables, redacted for secrets, and empty for file variables

isSecretboolean
descriptionstring nullable
fileNamestring nullable
fileSizeinteger nullable
mimeTypestring nullable
createdAtstring date-time
updatedAtstring date-time nullable