Skip to main content
PATCH
cURL

Path Parameters

variableId
string<uuid>
required

The ID of the variable.

Body

application/json
key
string

The name values use to refer to the variable, as {{KEY}}. Starts with a letter and uses only upper case letters, numbers and underscores.

Required string length: 1 - 64
Pattern: ^[A-Z][A-Z0-9_]*$
value
string | null

The value the proxy puts in place of each {{KEY}}. Omit to keep the stored value. On an OAuth variable only null is accepted, which disconnects it: its tokens and client secret are deleted until the next sign-in or import.

Required string length: 1 - 8192
Pattern: ^[^\x00-\x1f\x7f]*$
oauth
object

The OAuth settings to change. Send null to clear a setting. Changing any setting but scopes, clientName or redirectUri disconnects the variable, since its tokens belong to the old provider or client.

tokens
object

Tokens you already hold, for an OAuth variable set up by hand. They are stored as sent, replacing any the variable held, and first checked when a service uses them.

Response

Default Response

variable
object
required