CreateUser
Parameters
- name: string - The name of the user
- party_id: string (optional) - The party ID to associate with the user
Response Type
{
party_id: string;
}
Method
POST
Examples
No examples available
Usage
import { ValidatorApiClient, EnvLoader } from '@fairmint/canton-node-sdk';
const config = EnvLoader.getConfig('VALIDATOR_API', {
network: 'devnet',
provider: '5n'
});
const client = new ValidatorApiClient(config);
// Example usage for CreateUser
Generated from: src/clients/validator-api/operations/v0/admin/create-user.ts