Identity
This API suite is focused on managing Decentralized Identifiers (DIDs), allowing for their creation, retrieval, and management within an identity system.
Retrieves a list of Decentralized Identifiers (DIDs)
GET
/api/v1/identity/dids
An entity in the Identus system can have several identities (or DIDs). We can retrieve them all with thisa API call.
Headers
Content-Type
application/json
Authorization
apikey = {Alice's key}
Body
Response
Retrieve information about a specific DID
didRef can be a short-form or a long-form DID reference
GET
/api/v1/identity/dids/{didRef}
Headers
Content-Type
application/json
Authorization
apikey = {Alice's key}
Body
Response
Create a new DID for a specific purpose
POST
/api/v1/identity/did
Returns a JSON object with the created DID information, including a "longFormDid"
Headers
Content-Type
application/json
Authorization
apikey = {Alice's key}
Body
id
string
a short ID for the DID doc entry (eg: "key-2")
purpose
"authentication" or "issue"
purpose of the DID that will be created (if null, no DID created)
Response
Adds a purpose to an existing DID
PATCH
/api/v1/identity/did/{did}
{did} is the short (published) DID to update
Headers
Content-Type
application/json
Authorization
apikey = {Alice's key}
Body
id
string
a short ID for the DID doc entry (eg: "issue-2")
purpose
"authentication" or "issue"
another purpose for the existing DID
Response
Last updated