> Portal Navigation:
> 
> - Append `.md` to any URL under `https://dev.wix.com/docs/` to get its markdown version.
> - Pages are either content pages (article or reference text) or menu pages (a list of links to child pages).
> - To get a menu page, truncate any URL to a parent path and append `.md` (e.g. `https://dev.wix.com/docs/sdk.md`, `https://dev.wix.com/docs/sdk/core-modules.md`).
> - Top-level index of all portals: https://dev.wix.com/docs/llms.txt
> - Full concatenated docs: https://dev.wix.com/docs/llms-full.txt

# ClearVerification

# Package: googleSearchConsole

# Namespace: GscService

# Method link: https://dev.wix.com/docs/api-reference/business-management/seo/google-search-console/site-readiness-v1/clear-verification.md

## Permission Scopes:
Manage SEO Settings: SCOPE.PROMOTE.MANAGE-SEO

## Introduction

Removes the site's Google verification tag and Google connection.

Deletes the `google-site-verification` meta tag that Verify Site placed,
discards the stored verification state, and also deletes the site's stored
Google credentials. After this call the site's connection status is
`NOT_CONNECTED`. To remove only the credentials and keep the verification
tag, use the GSC Connection API's Disconnect instead. Neither call removes
the site from Google Search Console.

---

## REST API

### Schema

```
 Method: clearVerification
 Description: Removes the site's Google verification tag and Google connection.  Deletes the `google-site-verification` meta tag that Verify Site placed, discards the stored verification state, and also deletes the site's stored Google credentials. After this call the site's connection status is `NOT_CONNECTED`. To remove only the credentials and keep the verification tag, use the GSC Connection API's Disconnect instead. Neither call removes the site from Google Search Console.
 URL: https://www.wixapis.com/gsc/connection/v1/clear-verification
 Method: POST
 Return type: ClearVerificationResponse
  EMPTY-OBJECT {}


```

### Examples

### Clear Verification
```curl
curl -X POST \
'https://www.wixapis.com/gsc/v1/clear-verification' \
-H 'Authorization: <AUTH>' \
-H 'Content-Type: application/json' \
-d '{}'
```

---

## JavaScript SDK

### Schema

```
 Method: wixClientAdmin.gsc.siteReadiness.clearVerification()
 Description: Removes the site's Google verification tag and Google connection.  Deletes the `google-site-verification` meta tag that Verify Site placed, discards the stored verification state, and also deletes the site's stored Google credentials. After this call the site's connection status is `NOT_CONNECTED`. To remove only the credentials and keep the verification tag, use the GSC Connection API's Disconnect instead. Neither call removes the site from Google Search Console.
 Return type: PROMISE<ClearVerificationResponse>
  EMPTY-OBJECT {}


```

### Examples

### Clear the site's Google verification
```javascript
import { siteReadiness } from "@wix/gsc";

async function clearVerification() {
  await siteReadiness.clearVerification();
}

```

### clearVerification (self-hosted)
Self-hosted SDK calls require you to [create a client](https://dev.wix.com/docs/sdk/articles/work-with-the-sdk/about-the-wix-client.md).

```javascript
import { createClient } from '@wix/sdk';
import { siteReadiness } from '@wix/gsc';
// Import the auth strategy for the relevant access type
// Import the relevant host module if needed

const myWixClient = createClient ({
  modules: { siteReadiness },
  // Include the auth strategy and host as relevant
});


async function clearVerification() {
  const response = await myWixClient.siteReadiness.clearVerification();
};
```

---