Queries
Update Query
This API allows for anyone to update the sql text, parameters, name, tags, and state of a query. Only the API key generated under the context of the owner of that query will work.
PATCH
/
v1
/
query
/
{queryId}
To access Query endpoints, a Plus plan or higher is required.
Headers
X-Dune-Api-Key
string
requiredAPI Key for the service
Path Parameters
queryId
integer
requiredQuery ID
Query Parameters
api_key
string
API Key, alternative to using the HTTP header X-Dune-Api-Key
Response
200 - application/json
query_id
integer
The unique ID of the query that was updated
Was this page helpful?