searchconsole.sites.add
Adds a site to a user's Search Console sites via HTTP PUT, returning the API response as JSON; requests are blocked under read-only safety profiles.
Instructions
Adds a site to the set of the user's sites in Search Console [HTTP PUT] — updates the resource; refused under --readonly safety profiles. Returns the API's response resource as JSON — request bodies are built from the typed parameters (typed flags win over the params map), or read whole from body_file Siblings over the same resource: delete, get, list.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | Extra KEY=VALUE query pairs for endpoints whose parameters Discovery does not describe. | |
| params | No | Parameter map merged into the request; typed parameters win. | |
| dry_run | No | Return the request that would be sent, without sending it. | |
| siteUrl | Yes | [URL path segment] The URL of the site to add. | |
| body_file | No | Read the request body from this file ('-' for stdin) instead of building one from the parameters. |