gsc
Choose a site's primary Search Console property
Make one of a site's Search Console properties the primary: the one its dashboard and every gsc read uses unless source_id names another (a Domain property and a URL-prefix property count pages differently). Choosing the primary again changes nothing. Answers the property as gsc_sources_list lists it. A property that is not attached to the site is NOT_FOUND. Not billing-gated.
patch/v1/sites/{site}/search/primary-source
Request
- Base URL: https://frontshelf.io/api
- URL: https://frontshelf.io/api/v1/sites/{site}/search/primary-source
- Auth: HTTP bearer
Path parameters
sitestring required
Site ID (site_…), origin (https://example.com), or bare domain, resolved server-side; the response carries the canonical ID.
Request body
Response
Choose a site's primary Search Console property
Changes
No recorded changes to this operation across all 1 revision of this API.