add_blocked_url
Add a URL to the blocked list for a site. Specify site URL, blocked URL, entity type (Page or Directory), and request type (Cache Only or Full Removal) to control crawling and indexing.
Instructions
Add a blocked URL to a site.
Args: site_url: The URL of the site blocked_url: The URL to be blocked entity_type: The type of entity to block (Page or Directory) request_type: The type of request (CacheOnly or FullRemoval) date: The date the URL was blocked (default: minimum datetime)
Raises: BingWebmasterError: If URL cannot be blocked
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| self | Yes | ||
| site_url | Yes | ||
| blocked_url | Yes | ||
| entity_type | No | ||
| request_type | No | ||
| date | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |