get_site_roles
Retrieve all role assignments for a specific site, including optional subdomains, using the Bing Webmaster Tools API. Simplifies role management and access control for webmasters.
Instructions
Get all roles assigned for a specific site.
Args: site_url: The URL of the site include_all_subdomains: Whether to include roles for all subdomains
Returns: List[SiteRole]: List of role assignments for the site
Raises: BingWebmasterError: If the roles cannot be retrieved
Input Schema
Name | Required | Description | Default |
---|---|---|---|
include_all_subdomains | No | ||
self | Yes | ||
site_url | Yes |
Input Schema (JSON Schema)
{
"properties": {
"include_all_subdomains": {
"default": false,
"title": "Include All Subdomains",
"type": "boolean"
},
"self": {
"title": "self",
"type": "string"
},
"site_url": {
"title": "Site Url",
"type": "string"
}
},
"required": [
"self",
"site_url"
],
"title": "get_site_rolesArguments",
"type": "object"
}