---
title: "Service: /members/{member}/externaluris/{uri}/merge [POST]"
source: https://dev.pageseeder.com/api/services/merge-externaluri-POST.html
description: "This POST service merges an external URI by moving incoming links and unarchived discussions from a specified URL to the target URI, then archives the source URL. Useful for consolidating HTTP to HTTPS URLs."
last_updated: 2026-09-02T11:36:01+10:00
document_type: api_endpoint
operation_id: uri-POST
resource_id: uri
path_template: /members/{member}/externaluris/{uri}/merge
http_method: POST
api_category: uri
implementation_version: 6.2004
api_since: 6.0005
deprecated_since: null
obsolete_since: null
api_support: experimental
cache_control: N/A
generated_at: 2026-09-02
tokens: ~258
---

# /members/\{member\}/externaluris/\{uri\}/merge \[POST\]

## Description

Merge an external URI into this one.

Moves the specified URL's current incoming links (reverse xrefs) and unarchived discussions to this external URI and archives the URL. This can be useful to merge a `http` URL into its corresponding `https` URL.

## Parameters

| Name | Description | Required | Type | Default value |
| --- | --- | --- | --- | --- |
| url | the URL to move links/discussions from | yes | url |  |

## Permission

This service requires contributor or higher in a group with [edit all URLs](../../reference/glossary/group_config_advanced_options.md) permission.

## Response

The output has the following format where `@links` and `@discussions` are the number of links and discussions that were moved:

```xml
 <uri-merge links="12" discussions="23">
   <uri id="[id]" path="[path]" ...>
     <displaytitle>[title]</displaytitle>
     ...
   </uri>
 </uri-merge>
```

## Error handling

No specific errors expected for this generator.

