---
title: "Update the metadata for a part."
method: POST
path: "/metadata/d/{did}/{wvm}/{wvmid}/e/{eid}/{iden}/{pid}"
tags: ["Metadata"]
---

# Update the metadata for a part.

`POST /metadata/d/{did}/{wvm}/{wvmid}/e/{eid}/{iden}/{pid}`

See [API Guide: Metadata](https://onshape-public.github.io/docs/api-adv/metadata/) for details. 
* Specify the part in the `iden` or `pid` path parameter. 
* The `configuration` optional query parameter uses the default configuration unless otherwise specified. 
* `linkDocumentId` can be specified where applicable. Combined with `inferMetadataOwner` (default value is `false`), this is used to infer metadata owner. 
* Specify the property metadata to update in the Request body.

## Path parameters

- `did` string, required
- `wvm` 'w' | 'v' | 'm', required
- `wvmid` string, required
- `eid` string, required
- `iden` 'p' | 'pi', required
- `pid` string, required

## Query parameters

- `linkDocumentId` string
- `configuration` string
- `rollbackBarIndex` integer
- `elementMicroversionId` string

## Response `default`

default response

---

[API](https://skmtc.net/onshape/apis/onshape-rest-api.md) · [All operations](https://skmtc.net/onshape/apis/onshape-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/onshape/onshape-rest-api/revisions/aaa3e1322450/schema)
