Skip to content
Discussions/App Development/Party deletion in canton console and the daml sdkForum ↗

Party deletion in canton console and the daml sdk

App Development4 posts386 views1 likesLast activity Mar 2022
KC
kctamOP
Mar 2022

Hi Team,

I notice that there is a command to delete parties in the canton console <participant>.parties.disable(). Is it the right way to delete parties from the participant node? Besides, do we have similar command with daml sdk?

Thanks.

kc

BE
bernhard
Mar 2022

That is the way to do it, yes. Identity management beyond user management and the allocation of new parties is not fully standardized between different ledger implementations yet so the SDK does not expose an equivalent command.

KC
kctam
Mar 2022

Thanks @bernhard . May I follow-up with what is the Admin API in canton to perform the <participant>.parties.enable("alice") and <participant>.parties.disable("alice")?

I have done a quick search in this doc, and unable to find out which APIs perform these two tasks.

Thanks again.

kc

BE
bernhard
Mar 2022

The API you are looking for is the Topology Manager Write Service.

You’ll notice that it’s a lot more low-level. The functions you list are wrappers around AuthorizePartyToParticipant, I believe. The ParticipantPermission referenced there is laid out here.

← Back to Discussions