We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Calls POST /v2/users. CreateUserParams: user (id, primaryParty, isDeactivated, optional metadata) plus optional rights unions (CanActAs, CanReadAs, admins…).
/v2/users
CreateUserParams
user
primaryParty
isDeactivated
metadata
rights
Receiver: await canton.ledger.createUser
await canton.ledger.createUser
import { Canton } from '@fairmint/canton-node-sdk'; const canton = new Canton({ network: 'devnet', provider: '5n', partyId: 'OWN_PARTY_ID', });
await canton.ledger.createUser({ user: { id: 'alice', isDeactivated: false, }, });
See CreateUserParamsSchema (schemas/operations/users.ts).
CreateUserParamsSchema
schemas/operations/users.ts
CreateUserResponse
Created User record OpenAPI typing.
User
Participant ParticipantAdmin (typical) via bearer token.
ParticipantAdmin
operations/v2/users/create-user.ts