Update the DB query set on the chart

The API will update the query associated with the chart subject to the key passed having necessary permissions for the operation.

If this api is invoked on a chart that is primarily loaded using specified data, then the query which is set will override and replace any data already set on the chart. To revert the chart to load from data, involve the update-data api.

Language
Credentials
Query
Click Try It! to start a request and see the response here!