Metadata modification

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