Variables

Update a variable

Update an existing variable. At least one field (key, value, or dataType) must be provided.

patch/v4/variables/{variableId}

Request

  • Base URL: https://api.kadoa.com
  • URL: https://api.kadoa.com/v4/variables/{variableId}
  • Auth: API key in header x-api-key

Path parameters

variableIdstring required

Variable ID

Request body

keystring

Variable key (must be unique within scope)

valuestring

New variable value or write-only secret value

dataType'STRING' | 'SECRET' | 'OBJECT' | 'ARRAY' | 'NUMBER'

The data type of the variable value

Response

200

errorstring nullable required

Changes

No recorded changes to this operation across all 1 revision of this API.