> 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: bingWebmasterTools

# Namespace: BwtService

# Method link: https://dev.wix.com/docs/api-reference/business-management/seo/bing-webmaster-tools/site-readiness-v1/clear-verification.md

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

## Introduction

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

Deletes the `msvalidate.01` meta tag that Verify Site placed, discards
the stored verification state, and deletes this site's stored Bing
credentials. Other sites connected with the same Bing account stay
connected. After this call the site's blocking reason is
`NOT_CONNECTED`. The call doesn't remove the site from Bing Webmaster
Tools.

Only for a call made on a Wix site. Without one, the call fails with
`FAILED_PRECONDITION`.

---

## REST API

### Schema

```
 Method: clearVerification
 Description: Removes the site's Bing verification tag and Bing connection.  Deletes the `msvalidate.01` meta tag that Verify Site placed, discards the stored verification state, and deletes this site's stored Bing credentials. Other sites connected with the same Bing account stay connected. After this call the site's blocking reason is `NOT_CONNECTED`. The call doesn't remove the site from Bing Webmaster Tools.  Only for a call made on a Wix site. Without one, the call fails with `FAILED_PRECONDITION`.
 URL: https://www.wixapis.com/gsc/connection/v1/bing/clear-verification
 Method: POST
 Return type: ClearVerificationResponse
  EMPTY-OBJECT {}

 Possible Errors:
   HTTP Code: 428 | Status Code: FAILED_PRECONDITION | Application Code: CLEAR_VERIFICATION_NOT_SUPPORTED_FOR_SITELESS | Description: Reserved: not returned for a Wix site.
   HTTP Code: 503 | Status Code: UNAVAILABLE | Application Code: BWT_SITE_BUSY | Description: Another Bing Webmaster Tools operation is running on this site. Retry.
   HTTP Code: 503 | Status Code: UNAVAILABLE | Application Code: META_TAGS_WRITE_CONFLICT | Description: Another request changed the site's meta tags at the same time. Retry.


```

### Examples

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

---

## JavaScript SDK

### Schema

```
 Method: wixClientAdmin.bwt.siteReadiness.clearVerification()
 Description: Removes the site's Bing verification tag and Bing connection.  Deletes the `msvalidate.01` meta tag that Verify Site placed, discards the stored verification state, and deletes this site's stored Bing credentials. Other sites connected with the same Bing account stay connected. After this call the site's blocking reason is `NOT_CONNECTED`. The call doesn't remove the site from Bing Webmaster Tools.  Only for a call made on a Wix site. Without one, the call fails with `FAILED_PRECONDITION`.
 Return type: PROMISE<ClearVerificationResponse>
  EMPTY-OBJECT {}

 Possible Errors:
   HTTP Code: 428 | Status Code: FAILED_PRECONDITION | Application Code: CLEAR_VERIFICATION_NOT_SUPPORTED_FOR_SITELESS | Description: Reserved: not returned for a Wix site.
   HTTP Code: 503 | Status Code: UNAVAILABLE | Application Code: BWT_SITE_BUSY | Description: Another Bing Webmaster Tools operation is running on this site. Retry.
   HTTP Code: 503 | Status Code: UNAVAILABLE | Application Code: META_TAGS_WRITE_CONFLICT | Description: Another request changed the site's meta tags at the same time. Retry.


```

### Examples

### Remove the site's Bing verification tag and connection
```javascript
import { siteReadiness } from "@wix/bwt";

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/bwt';
// 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();
};
```

---