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

# Update the metadata for an element.

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

## Request

- Base URL: `https://api.onshape.com/api/v17`
- URL: `https://api.onshape.com/api/v17/metadata/d/{did}/{wvm}/{wvmid}/e/{eid}`
- Auth: OAuth 2 and HTTP basic
  - Authorization code: `/oauth/authorize`
  - Token URL: `/oauth/token` scopes: `OAuth2Write`

See [API Guide: Metadata](https://onshape-public.github.io/docs/api-adv/metadata/) for details. 
* Microversion (`m`) in `wvm` path parameter option is not supported. 
* Specify the property metadata to update in the Request body.

## Path parameters

- `did` string, required
- `wvm` string, required
- `wvmid` string, required
- `eid` string, required

## Query parameters

- `configuration` string

## Request body

- string

## Response `default`

default response

---

[API](https://skmtc.dev/onshape/apis/onshape-rest-api.md) - [All operations](https://skmtc.dev/onshape/apis/onshape-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/onshape/apis/onshape-rest-api/revisions/c5c4c780f831?raw)
