API Reference
This API reference is organized by resource type. Each resource type has one or more data representations and one or more methods.
WebResource
For WebResource Resource details, see the resource representation page.
Method |
HTTP request |
Description |
URIs relative to https://www.googleapis.com/siteVerification/v1, unless otherwise noted |
delete
|
DELETE /webResource/id
|
Unverifies the user's ownership of a website or domain.
|
get
|
GET /webResource/id
|
Retrieves the most current data for a website or domain.
|
getToken
|
POST /token
|
Gets a verification token for the authenticated user to place on a website or domain.
|
insert
|
POST /webResource?verificationMethod=method
|
Verifies ownership of a website or domain.
Required query parameters:
verificationMethod |
list
|
GET /webResource
|
Gets the list of the authenticated user's verified websites and domains.
|
update
|
PUT /webResource/id
|
Modifies the list of owners for a website or domain.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-06-11 UTC.
[null,null,["Last updated 2024-06-11 UTC."],[[["This API reference is structured around resource types, each with their own data representations and methods."],["The WebResource resource allows you to manage website and domain ownership verification through methods like `get`, `insert`, `delete`, `update`, `list`, and `getToken`."],["You can retrieve, verify, unverify, and modify website or domain ownership, as well as list verified sites and obtain verification tokens."],["All URIs are relative to `https://www.googleapis.com/siteVerification/v1` unless specified otherwise."]]],["The API manages WebResources, which represent websites or domains. Key actions include: `delete` to unverify ownership; `get` to retrieve current data; `getToken` to get a verification token; `insert` to verify ownership, requiring a `verificationMethod`; `list` to retrieve a list of verified sites; and `update` to modify the owner list. These actions use `DELETE`, `GET`, `POST`, and `PUT` HTTP methods against `/webResource/` or `/token` endpoints. Each resource has its data representation and methods.\n"]]