Party deletion in canton console and the daml sdk

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

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.

1 Like

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

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.