add_site_roles
Delegate site access in Bing Webmaster Tools by assigning roles to users, specifying administrator or read-only privileges using site URL, user email, and authentication code.
Instructions
Delegate site access to a user.
Args: site_url: The URL of your site delegated_url: The URL being delegated user_email: The email of the user to delegate access to authentication_code: The authentication code is_administrator: Whether the user should have administrator privileges is_read_only: Whether the user should have read-only access
Raises: BingWebmasterError: If the role assignment fails
Input Schema
Name | Required | Description | Default |
---|---|---|---|
authentication_code | Yes | ||
delegated_url | Yes | ||
is_administrator | Yes | ||
is_read_only | Yes | ||
self | Yes | ||
site_url | Yes | ||
user_email | Yes |