# Metadata modification

**URL:** <https://discuss.hashicorp.com/t/metadata-modification/52835>\
**Category:** Vault\
**Tags:** vault\
**Created:** [April 18, 2023, 12:35pm UTC](https://discuss.hashicorp.com/t/metadata-modification/52835 "2023-04-18T12:35:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mahnat](https://sea2.discourse-cdn.com/hashicorp/user_avatar/discuss.hashicorp.com/mahnat/32/23944_2.png) [@mahnat](https://discuss.hashicorp.com/u/mahnat)\
**Post date:** [April 18, 2023, 12:35pm UTC](https://discuss.hashicorp.com/t/metadata-modification/52835/1 "2023-04-18T12:35:07Z")

</div>

Hi,

I would like to know if there is some reasonable way to modify entity alias metadata. POST method for API endpoint `/v1/identity/entity-alias/id/:id` allows updating custom\_metadata only, which is something different. But I would like to change metadata as I am trying to replicate some assumed bug in claim mapping for JWT/OIDC auth method. I was looking into `/identity` and `/sys/raw` mounts but no luck there either as the raw endpoint is structured “logically” but I do not understand the logic behind it.

Thanks,  
Marek
