remove_site_role
Remove a user's role and access permissions for a specific site in Bing Webmaster Tools. Specify the site URL and the role to revoke permissions effectively.
Instructions
Remove a user's site access.
Args: site_url: The URL of the site site_role: The site role to remove
Raises: BingWebmasterError: If the role cannot be removed
Input Schema
Name | Required | Description | Default |
---|---|---|---|
self | Yes | ||
site_role | Yes | ||
site_url | Yes |
Input Schema (JSON Schema)
{
"$defs": {
"SiteRole": {
"properties": {
"Date": {
"format": "date-time",
"title": "Date",
"type": "string"
},
"DelegatedCode": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Delegatedcode"
},
"DelegatedCodeOwnerEmail": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Delegatedcodeowneremail"
},
"DelegatorEmail": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Delegatoremail"
},
"Email": {
"title": "Email",
"type": "string"
},
"Expired": {
"title": "Expired",
"type": "boolean"
},
"Role": {
"$ref": "#/$defs/UserRole"
},
"Site": {
"title": "Site",
"type": "string"
},
"VerificationSite": {
"title": "Verificationsite",
"type": "string"
},
"__type": {
"title": "Type",
"type": "string"
}
},
"required": [
"__type",
"Date",
"Email",
"Expired",
"Role",
"Site",
"VerificationSite"
],
"title": "SiteRole",
"type": "object"
},
"UserRole": {
"enum": [
0,
1,
2
],
"title": "UserRole",
"type": "integer"
}
},
"properties": {
"self": {
"title": "self",
"type": "string"
},
"site_role": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"$ref": "#/$defs/SiteRole"
}
],
"title": "Site Role"
},
"site_url": {
"title": "Site Url",
"type": "string"
}
},
"required": [
"self",
"site_url",
"site_role"
],
"title": "remove_site_roleArguments",
"type": "object"
}