Based on your query, here is my understanding: you would like to update NameID
claim using Microsoft graph API instead of creating claim using claim policy.
Microsoft Entra applications claims are currently managed from UI or if you would like to edit the values using graph API, you need to create claims mapping policy only. There is no possibility to manage the available NameID
from Microsoft graph API without claims mapping policy. Please note that once you configure claims mapping policy via Graph API, you will not be allowed to edit the claims in Azure portal any longer, which is by design.
I believe you have the required document, in performing claims mapping policy but would like to share for confirmation: Configure claims mapping.
I hope this information is helpful. Please feel free to reach out if you have any further questions.
If the answer is helpful, please click "Accept Answer" and kindly "upvote it". If you have extra questions about this answer, please click "Comment".