# Updating a party's display name

**URL:** <https://forum.canton.network/t/updating-a-partys-display-name/6447>\
**Category:** App Development\
**Tags:** daml, json-api, ledger-api, canton\
**Created:** [April 19, 2023, 3:31pm UTC](https://forum.canton.network/t/updating-a-partys-display-name/6447 "2023-04-19T15:31:12Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![David\_Martins](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/david_martins/32/1792_2.png) [@David\_Martins](https://forum.canton.network/u/David_Martins)\
**Post date:** [April 19, 2023, 3:31pm UTC](https://forum.canton.network/t/updating-a-partys-display-name/6447/1 "2023-04-19T15:31:12Z")

</div>

Hello all, is it at all possible to change a party’s display name after allocation. Via the Json API doesn’t seem to be possible, but is this something that can be achieved either on ledger API or canton console?  
Thank you.

---

<div class="post-metadata">

**Author:** ![stefanobaghino-da](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/stefanobaghino-da/32/7057_2.png) [@stefanobaghino-da](https://forum.canton.network/u/stefanobaghino-da)\
**Post date:** [April 19, 2023, 3:39pm UTC](https://forum.canton.network/t/updating-a-partys-display-name/6447/2 "2023-04-19T15:39:47Z")

</div>

From the Canton console you can use [`<participant_name>.parties.set_display_name`](https://docs.daml.com/canton/reference/console.html#parties-set-display-name). From the Ledger API you can use [`PartyManagementService#UpdatePartyDetails`](https://docs.daml.com/app-dev/grpc/proto-docs.html#partymanagementservice) (which is what the Canton Console calls, ultimately). In the Java bindings, you can use [this](https://docs.daml.com/app-dev/bindings-java/javadocs/com/daml/ledger/api/v1/admin/PartyManagementServiceGrpc.html) to access the `PartyManagementService`.

---

<div class="post-metadata">

**Author:** ![David\_Martins](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/david_martins/32/1792_2.png) [@David\_Martins](https://forum.canton.network/u/David_Martins)\
**Post date:** [April 19, 2023, 3:55pm UTC](https://forum.canton.network/t/updating-a-partys-display-name/6447/3 "2023-04-19T15:55:14Z")

</div>

Thank you for the quick reply, are you planning on including this on the Json Api sometime soon, or is it not foreseen? And, is this achievable on Daml Hub?

---

<div class="post-metadata">

**Author:** ![stefanobaghino-da](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/stefanobaghino-da/32/7057_2.png) [@stefanobaghino-da](https://forum.canton.network/u/stefanobaghino-da)\
**Post date:** [April 19, 2023, 4:07pm UTC](https://forum.canton.network/t/updating-a-partys-display-name/6447/4 "2023-04-19T16:07:26Z")

</div>

I am not aware of plans to include this in the JSON API.

I believe this should be achievable using Daml Hub since it exposes the Ledger API.

---

<div class="post-metadata">

**Author:** ![CoNaN](https://avatars.discourse-cdn.com/v4/letter/c/13edae/32.png) [@CoNaN](https://forum.canton.network/u/CoNaN)\
**Post date:** [April 19, 2023, 4:13pm UTC](https://forum.canton.network/t/updating-a-partys-display-name/6447/5 "2023-04-19T16:13:09Z")

</div>

Hello! Since Daml Script accesses the Ledger API, is this doable via Daml Script?

---

<div class="post-metadata">

**Author:** ![cocreature](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/cocreature/32/36_2.png) [@cocreature](https://forum.canton.network/u/cocreature)\
**Post date:** [April 20, 2023, 6:34am UTC](https://forum.canton.network/t/updating-a-partys-display-name/6447/6 "2023-04-20T06:34:29Z")

</div>

It’s not exposed in Daml Script.

---

<div class="post-metadata">

**Author:** ![CoNaN](https://avatars.discourse-cdn.com/v4/letter/c/13edae/32.png) [@CoNaN](https://forum.canton.network/u/CoNaN)\
**Post date:** [April 20, 2023, 1:21pm UTC](https://forum.canton.network/t/updating-a-partys-display-name/6447/7 "2023-04-20T13:21:27Z")

</div>

Thanks, cocreature.

---

<div class="post-metadata">

**Author:** ![sormeter](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/sormeter/32/280_2.png) [@sormeter](https://forum.canton.network/u/sormeter)\
**Post date:** [September 6, 2025, 6:34pm UTC](https://forum.canton.network/t/updating-a-partys-display-name/6447/8 "2025-09-06T18:34:00Z")

</div>

> Why is update to ‘display names’ not allowed for update party?

I believe the [UpdatePartyDetails](https://docs.daml.com/app-dev/grpc/proto-docs.html#updatepartydetails-method-version-com-daml-ledger-api-v1-admin) endpoint can be used to update only the local\_metadata field of the party, but it does not work to update display\_name.

I believe this is because displayName has essentially been deprecated in the 2.x line of Canton, and is [removed in 3.x](https://docs.digitalasset.com/build/3.3/sdlc-howtos/applications/develop/manage-daml-parties.html)

So the recommendation to be ready for future evolution to 3.x is that you rely on this data held in the local\_metadata field instead.

See further detail here from the [daml 2.x docs](https://docs.daml.com/app-dev/grpc/proto-docs.html#allocatepartyrequest-message-version-com-daml-ledger-api-v1-admin)

```bash
display_name
Human-readable name of the party to be added to the participant. It doesn't have to be unique. Use of this field is discouraged. Use local_metadata instead. Optional

```

````bash

local_metadata
Participant-local metadata to be stored in the PartyDetails of this newly allocated party. Optional```

````
