Google Site Verification API

WebResource: update

Requires authorization

Modifies the list of owners for a website or domain. Try it now.

The Site Verification system adds or removes owners as needed to match the owner list provided in the updated resource. No changes are made if the updated owner list is identical to the current owner list.

Before removing an owner from the list, ensure that all verification tokens associated with that owner have been removed. Otherwise, calling update results in an HTTP 400 Bad Request error.

Note: You cannot use this method to unverify the authenticated user's ownership of a site. Use the delete method instead.

Request

HTTP Request

PUT https://www.googleapis.com/siteVerification/v1/webResource/id

Parameters

Parameter Name Value Description
Required Parameters
id string The ID of a verified site or domain.

Authorization

This request requires authorization with at least one of the following scopes (read more about authentication and authorization).

Scope
https://www.googleapis.com/auth/siteverification

Request Body

In the request body, supply a WebResource resource.

Response

If successful, this method returns the updated WebResource resource in the response body.

Try It!

Use the explorer below to call this method on live data and see the response. Alternatively, try the standalone explorer.

Authentication required

You need to be signed in with Google+ to do that.

Signing you in...

Google Developers needs your permission to do that.