Skip to main content
POST

JSON Ledger API

Create a new user

OpenAPISince 3.4Changed 3.5
Create a new user.

Protocol Details

Operation IDpostV2Users
AuthenticationBearer token
Published3.5

Inputs

Request body

application/json
object
required
OpenAPI type: User.Users and rights ///////////////// Users are used to dynamically manage the rights given to Daml applications. They are stored and managed per participant node.
object[]
OpenAPI type: Right[].The rights to be assigned to the user upon creation, which SHOULD include appropriate rights for the user.primary_party. Optional: can be empty

Outputs

200

application/json
User
required
Users and rights ///////////////// Users are used to dynamically manage the rights given to Daml applications. They are stored and managed per participant node.

400

text/plain
string
required

default

application/json
string
required
string
required
string
string
Map_String
required
Tuple2_String_String[]
integer (int32)
required
integer (int32)
string
boolean

History

Changed3.5

The POST /v2/users operation changed in this snapshot.

Introduced3.4