Skip to main content

Account configuration update

Update the Google Search Console siteUrl for the authenticated account.

Request Body required
    site_url string

    Possible values: Value must match regular expression ^(https?://|sc-domain:)\S+

Responses

Google Search Console configuration updated on the account


Schema
    account int32
    siteUrl string
PATCH /accounts/me/google-search-console

Authorization

name: Authorizationtype: apiKeydescription: `Key {your key}`in: header

Request

Base URL
https://api.wordlift.io
ApiKey
Body required
{
"site_url": "string"
}
curl / cURL
curl -L -X PATCH 'https://api.wordlift.io/accounts/me/google-search-console' \
-H 'Content-Type: application/json' \
-H 'Accept: */*' \
-H 'Authorization: <API_KEY_VALUE>' \
--data-raw '{
"site_url": "string"
}'