---
title: "Service: /members/{member}/groups/{group}/uris/{uri}/metadata [PUT]"
source: https://dev.pageseeder.com/api/services/uri-metadata-PUT.html
description: "API endpoint for creating/editing fragment metadata. Requires contributor access. Accepts properties XML in request body with optional draft, HTML, notes, and transclusion parameters. Returns fragment with metadata and edit ID."
last_updated: 2026-09-02T11:36:20+10:00
document_type: api_endpoint
operation_id: psml-PUT
resource_id: psml
path_template: /members/{member}/groups/{group}/uris/{uri}/metadata
http_method: PUT
api_category: psml
implementation_version: 6.2004
api_since: 5.0100
deprecated_since: null
obsolete_since: null
api_support: supported
cache_control: N/A
generated_at: 2026-09-02
tokens: ~388
---

# /members/\{member\}/groups/\{group\}/uris/\{uri\}/metadata \[PUT\]

## Description

Create new edit on [fragment](../../reference/glossary/fragment.md) provided.

> **Note:** The new content of the fragment must be in the enclosed entity body of the request and the root element must be `<properties>`.

## Parameters

| Name | Description | Required | Type | Default value |
| --- | --- | --- | --- | --- |
| content | Content of edit (`<properties>`). **DEPRECATED use enclosed entity body of the request** | no | string |  |
| draft | A flag to save edit as a draft | no | boolean | false |
| html | A flag to specify content is HTML | no | boolean | false |
| lastmodified | The last modified date/time of the fragment, format is ISO-8601 (prevents edit clashes) | no | string |  |
| note | Content for edit notes (if exists, creates a note) | no | string |  |
| note-labels | Comma-separated list of label values for the note (if exists, creates a note) | no | string |  |
| note-title | A title for the edit note | no | string | Edit note |
| transclude | A flag to resolve transclusions when outputting result | no | boolean | true |

## Permission

This service requires contributor or higher.

## Response

```xml

<fragment-creation [unresolved-xrefs="true"]>
 <metadata editid="4645002"
           modified="2022-05-27T16:09:52+10:00">
   <properties>
     <property name="category" title="Category" value="books"/>
   </properties>
  </metadata>
</fragment-creation>
```

## Error Handling

No specific errors expected for this service.

