> ## Documentation Index
> Fetch the complete documentation index at: https://docs.markifact.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Block URLs

> Blocks URLs or directories from Bing search results for a site

Blocks URLs or directories from Bing search results for a site. FullRemoval hides the page entirely, CacheOnly only drops Bing's cached copy. Accepts one URL or many; Bing blocks expire after 90 days.

| | |
| - | - |
| **App** | Bing Webmaster Tools |
| **Operation ID** | `bing_webmaster_block_urls` |
| **Type** | Action |
| **Connection** | `bing_webmaster` (required) |
| **Credits per run** | 1 |
| **Agent / MCP tool** | Yes |
| **Requires approval** | Yes (write operation) |

## Inputs

| Field | Type | Required | Default | Description |
| - | - | - | - | - |
| `site` | DynamicAccount | Yes | - | Select the site the URLs belong to. |
| `urls` | array of string or string | Yes | - | URLs to block from Bing search results, one per line or comma-separated. Every URL must belong to the selected site. Blocks expire after 90 days in Bing Webmaster Tools. |
| `entity_type` | enum (`Page`, `Directory`) | No | `Page` | Page blocks the exact URL. Directory blocks everything under the URL path, so pass a directory URL ending in / when using it. Applies to every URL in this run. |
| `request_type` | enum (`FullRemoval`, `CacheOnly`) | No | `FullRemoval` | FullRemoval hides the page from Bing search results entirely. CacheOnly keeps the result but removes Bing's cached copy. Applies to every URL in this run. |

## Output

**Type**: `Dict`

Returns a confirmation with the blocked URLs and the block settings used.

**Fields**: `status`, `site`, `entity_type`, `request_type`, `blocked_count`, `blocked_urls`

**Example**:

```json theme={"dark"}
{
  "status": "blocked",
  "site": "https://example.com",
  "entity_type": "Page",
  "request_type": "FullRemoval",
  "blocked_count": 2
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.