Profiles
Organization Profiles are used to provide more context for an Issuer DID. Details about the issuer such as name and logo can be added using a Organization Profile. These details will be included in credentials that are issued by the DID.
Create Profile
The did
and name
fields are required to create a new Profile.
A DID
did:cheqd:testnet:ac2b9027-ec1a-4ee2-aad1-1e316e7d6f59
POST /profiles HTTP/1.1
Host: api-testnet.truvera.io
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 64
{
"did": "did:cheqd:testnet:ac2b9027-ec1a-4ee2-aad1-1e316e7d6f59"
}
{
"did": "text",
"name": "text",
"logo": "text"
}
Get Profile
When a DID is provided in the path, the API will retrieve the Profile associated with that DID.
DID as fully qualified, typically. did:cheqd:
did:cheqd:testnet:ac2b9027-ec1a-4ee2-aad1-1e316e7d6f59
GET /profiles/{did} HTTP/1.1
Host: api-testnet.truvera.io
Authorization: Bearer JWT
Accept: */*
{
"did": "text",
"name": "text",
"logo": "text"
}
List Profiles
Return a list of all Profiles that your user account controls.
How many items to offset by for pagination
0
How many items to return at one time (max 64)
64
GET /profiles HTTP/1.1
Host: api-testnet.truvera.io
Authorization: Bearer JWT
Accept: */*
[
{
"did": "text",
"name": "text",
"logo": "text"
}
]
Update Profile
The update profile operation means that you can update the details of the profile. To do so, you need to provide a different value for at least one of name
, description
or logo
.
DID as fully qualified, typically. did:cheqd:
did:cheqd:testnet:ac2b9027-ec1a-4ee2-aad1-1e316e7d6f59
A DID
did:cheqd:testnet:ac2b9027-ec1a-4ee2-aad1-1e316e7d6f59
PATCH /profiles/{did} HTTP/1.1
Host: api-testnet.truvera.io
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 64
{
"did": "did:cheqd:testnet:ac2b9027-ec1a-4ee2-aad1-1e316e7d6f59"
}
{
"did": "text",
"name": "text",
"logo": "text"
}
Delete Profile
Deletes a profile from our platform. It does NOT delete the associated DID, nor revoke the credentials issued for the profile.
DID as fully qualified, typically. did:cheqd:
did:cheqd:testnet:ac2b9027-ec1a-4ee2-aad1-1e316e7d6f59
DELETE /profiles/{did} HTTP/1.1
Host: api-testnet.truvera.io
Authorization: Bearer JWT
Accept: */*
No content
Last updated
Was this helpful?