---
title: "Service: /members/{member}/groups/{group}/uris/{uri}/editinlinelabel [POST]"
source: https://dev.pageseeder.com/api/services/edit-psml-inlinelabel_post.html
description: "This POST service edits inline labels within URI fragments in PageSeeder. It requires a label name and new content, with either a fragment ID or old content to locate the target. Only contributors and above can use this service."
last_updated: 2026-09-08T12:19:45+10:00
document_type: api_endpoint
operation_id: psml-POST
resource_id: psml
path_template: /members/{member}/groups/{group}/uris/{uri}/editinlinelabel
http_method: POST
api_category: psml
implementation_version: 6.0000
api_since: 4.9000
deprecated_since: null
obsolete_since: null
api_support: supported
cache_control: N/A
generated_at: 2026-09-02
tokens: ~423
---

# /members/\{member\}/groups/\{group\}/uris/\{uri\}/editinlinelabel \[POST\]

## Description

Edit an [inline label](../../reference/glossary/inline_label.md) found in a fragment of the URI provided.

The fragment can be specified using the parameter `fragment`. If it is not present, the parameter `oldcontent` must be specified as it is used to retrieve the fragment from the content.

If the parameters `fragment` and `oldcontent` are both specified, only the inline labels containing the content specified are edited.

Only the first fragment containing the inline label found (if not specified) is modified, but all the occurrences of the inline label matching the parameters provided are edited in that fragment.

## Parameters

| Name | Description | Required | Type | Default |
| --- | --- | --- | --- | --- |
| label | The name of the label to edit | yes | string |  |
| newcontent | The new content for the label (XML markup is treated as text) | yes | string |  |
| fragment | The fragment `ID` to edit (required if oldcontent is not specified) | maybe | string |  |
| oldcontent | The old content of the label (required if fragment is not specified) | maybe | string |  |

## Permission

This service requires contributor or higher.

## Response

The XML output follows this format:

```xml

<label-modification fragment="123" uriid="456">
  <inline label="mylabel">my new value</inline>
</label-modification>
```

## Error Handling

| Code | Cause / Description |
| --- | --- |
| 0x1206 | Invalid media type |
| 0x120B | Error processing XRefs |
| 0x120C | Error creating fragment |
| 0x120D | Content validation error |
| 0x1218 | Fragment not found with specified content |

