DID Ownership & Delegation
Create and manage DIDs for other subjects.
As a controller, register DID for a subject
POST https://api.borlaug.network/identity/controller/dids
Create DID as a controller for a subject.
If public_key is not provided, a new wallet is created for the subject which can be claimed by the subject at a later time.
If catalogid is provided, DID is registered and added to this catalog owned by the controller with the given short_name.
Ifproperties array is given, DID is registered with those properties.
Headers
Content-Type
string
application/json
Authorization
string
BWS authorization token
Request Body
public_key
string
Subject public key
catalogid
number
Add this DID in a catalog
short_name
string
A name for this DID when adding to a catalog
properties
array
Array of DI properties
{ "name": "Cake's name", "recipe": "Cake's recipe name", "cake": "Binary cake"}{ "message": "Ain't no cake like that."}{
"catalogid":"2",
"short_name":"Alice",
"public_key":"5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY",
"properties": [
{
"name": "Name",
"private": true,
"type": "String",
"value": "Atanu Roy"
}
]
}List all DIDs for which the caller is the controller
GET https://api.borlaug.network/identity/controller/dids
Retrieve all DIDs controlled by this caller.
Query Parameters
per_page
number
Number of items per page
page
number
For pagination
Headers
Authorization
string
BWS authorization token
Last updated
Was this helpful?