Export (0) Print
Expand All
Expand Minimize

IWebmasterApi.RemoveQueryParameter

Namespace: Microsoft.Bing.Webmaster.Api

IWebmasterApi.RemoveQueryParameter Method

Remove url normalization parameter

Syntax

void RemoveQueryParameter(
string siteUrl,
string queryParameter
)

Parameters

siteUrl
Type: System.String
Site url

queryParameter
Type: System.String
Query parameter

Examples

XML request sample

POST /webmaster/api.svc/pox/RemoveQueryParameter?apikey=EEDECC1EA4AE341CC57365E075EBC8B6 HTTP/1.1
Content-Type: application/xml; charset=utf-8
Host: ssl.bing.com
Content-Length: 151

<RemoveQueryParameter xmlns="http://schemas.datacontract.org/2004/07/Microsoft.Bing.Webmaster.Api">
<siteUrl>http://example.com</siteUrl>
<queryParameter>ref:link</queryParameter>
</RemoveQueryParameter>

XML response sample

HTTP/1.1 200 OK
Content-Length: 0

JSON request sample

POST /webmaster/api.svc/json/RemoveQueryParameter?apikey=EEDECC1EA4AE341CC57365E075EBC8B6 HTTP/1.1
Content-Type: application/json; charset=utf-8
Host: ssl.bing.com
Content-Length: 62


{
"siteUrl":"http:\/\/example.com",
"queryParameter":"ref:link"
}

JSON response sample

HTTP/1.1 200 OK
Content-Length: 10
Content-Type: application/json; charset=utf-8


{
"d":null
}

See Also

Show:
© 2014 Microsoft