Variables
Update a variable
Update the value of an existing variable by its key.
AuthorizationBearer <token>
In: header
Path Parameters
variable_keyVariable Key
valueValue
The new value of the variable.
Length
1 <= lengthResponse Body
curl -X PATCH "https://api.wrift.ai/v1/variables/string" \ -H "Content-Type: application/json" \ -d '{ "value": "string" }'{
"key": "string",
"value": "string",
"secret": true,
"created_at": "2019-08-24T14:15:22Z"
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}