Method: savedQueries.patch

Stay organized with collections Save and categorize content based on your preferences.

Updates a saved query.

HTTP request


The URL uses gRPC Transcoding syntax.

Path parameters



The resource name of the saved query. The format must be:

  • projects/project_number/savedQueries/savedQueryId
  • folders/folder_number/savedQueries/savedQueryId
  • organizations/organization_number/savedQueries/savedQueryId

Query parameters


string (FieldMask format)

Required. The list of fields to update.

This is a comma-separated list of fully qualified names of fields. Example: "user.displayName,photo".

Request body

The request body contains an instance of SavedQuery.

Response body

If successful, the response body contains an instance of SavedQuery.

Authorization Scopes

Requires the following OAuth scope:


For more information, see the Authentication Overview.