Skip to content
Alchemy Logo

Update a variable

PATCH
https://dashboard.alchemy.com/api/graphql/variables/{var_name}

Adds items to a GraphQL webhook variable, or removes items from it. The JSON body has one key: add or delete, with a list of at most 10,000 items. A body with both keys gets a 400, so send one request to add and one to remove.

Headers

stringrequired

Your team's auth token. Find it on the Webhooks page of the Alchemy dashboard.

Path Parameters

stringrequired

The variable name.

Request Body

Responses

200

Changed the variable's items

Construct a type with a set of properties K of type T

400

Invalid input

401

Requires authentication

503

Variable service unavailable

Was this page helpful?