---
title: "REST API: Delete URL Mapping"
type: "wiki"
space: "Axero Documentation"
author: "Vladana Garic"
created: 2025-02-05T13:20:59Z
updated: 2026-09-13T00:28:28Z
url: "https://my.axerosolutions.com/spaces/5/axero-documentation/wiki/view/107230/rest-api-delete-url-mapping"
---

# REST API: Delete URL Mapping

[Open API Guide](https://my.axerosolutions.com/spaces/5/axero-documentation/api-guide?id=107230)
DELETE/api/urlmapper/multiple

Delete URL mappings by the address they redirect from or to. Warning: If 'fromURL' is provided, the API will delete all mappings pointing from that URL.

## Request

### Request Header
| Header | Required | Value | Description |
| :--- | :--- | :--- | :--- |
| `Authorization` | YES | `Bearer YOUR_TOKEN` | Bearer token for the authenticated user. [Learn how to create Bearer tokens](https://my.axerosolutions.com/spaces/5/axero-documentation/wiki/view/108973/creating-bearer-tokens). |
### Required Parameters
| Parameter | Type | Required | Location | Description |
| :--- | :--- | :--- | :--- | :--- |
| `ToURL` | String | NO | Query | The URL you want to redirect to. Either fromURL or toURL must be supplied |
### Optional Parameters
| Parameter | Type | Required | Location | Description |
| :--- | :--- | :--- | :--- | :--- |
| `FromURL` | String | NO | Query | The URL you want to redirect from |
## Example

### Request Header

```
Authorization: Bearer YOUR_TOKEN
```

### Request URL

`https://your-site.com/api/urlmapper/multiple?toURL=string`

### Success Response

```
true
```

### Error Response

```
{
  "Message": "fromURL or toURL must be supplied"
}
```

## Error Handling

| Status Code | Likely Cause | Next Action |
| :--- | :--- | :--- |
| 400 Bad Request | Neither FromURL nor ToURL was sent \(fromURL or toURL must be supplied\). | Send at least one of the two. |
| 401 Unauthorized | Missing or invalid Bearer token. | Check token validity. [Learn how to create Bearer tokens →](https://my.axerosolutions.com/spaces/5/axero-documentation/wiki/view/108973/creating-bearer-tokens) |
| 403 Forbidden | The caller is not a site administrator and lacks the Manage URL Mapper permission. | Call with a site administrator token or grant the permission. |
| 500 Server Error | Internal failure. | Retry later. |

## Rate Limits

While Axero does not enforce hard rate limits by default, we recommend the following best practices to ensure optimal performance:

- **Sustained Request Rate:** Do not exceed 5 API calls per second
- **Sequential Processing:** Wait for each request to complete before sending the next in automated workflows
- **Concurrent Connections:** If parallel processing is required, limit to 3 or fewer simultaneous requests
- **Response Timeout:** Ensure API responses complete within 15 seconds during testing

Axero may implement temporary rate restrictions if excessive API usage affects overall site performance. For high-volume integrations, contact Axero to discuss your requirements.
