Skip to content

Create new did

POST
/orgs/{orgId}/agents/did

Create new did for an organization

Authorizations

Parameters

Path Parameters

orgId
required
string

Request Body required

object
seed
string
000000000000000000000000000Seed1
keyType
required
string
ed25519
method
required
string
indy
network
string
bcovrin:testnet
domain
string
www.github.com
role
string
endorser
privatekey
string
endpoint
string
http://localhost:6006/docs
did
string
XzFjo1RTZ2h9UVFCnPUyaQ
endorserDid
string
did:indy:bcovrin:testnet:UEeW111G1tYo1nEkPwMcF
isPrimaryDid
boolean

Responses

201

Success

object
message
required
string
Success
success
required
boolean
data
required
object
statusCode
required
number
200

401

Unauthorized

object
statusCode
required
number
401
error
required
string
Unauthorized

403

Forbidden

object
statusCode
required
number
403
error
required
string
Forbidden