When updating nested resources like queries or variables, the entire array will be replaced with the one you provide.
Explore documentation
Update an exploration
Updates an existing exploration by its ID. You only need to provide the fields you want to change.
URL parameters
The unique identifier of the exploration to update.
Headers
Bearer $TOKEN
Body parameters
A new name for the exploration.
A new start for the exploration's date range.
A new end for the exploration's date range.
A new exploration group ID. Use 0 or null to remove from a group.
An object to update the chart's configuration. The entire object is replaced.
An array of query objects to replace the existing queries.
An array of variable objects to replace the existing custom variables.
The exploration was updated successfully.
Response body
An exploration with the specified ID was not found.
Example Request
This example updates the exploration's name and replaces its queries.