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-1e316e7d6f59Profile has been created
Error creating profile
Transaction limit reached or upgrade required to proceed
User does not own profile DID
POST /profiles HTTP/1.1
Host: api-testnet.truvera.io
Authorization: Bearer YOUR_SECRET_TOKEN
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-1e316e7d6f59Expected response to a valid request
Error getting profile
Profile was not found
GET /profiles/{did} HTTP/1.1
Host: api-testnet.truvera.io
Authorization: Bearer YOUR_SECRET_TOKEN
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
0How many items to return at one time (max 64)
64A paged array of profiles
Application error
GET /profiles HTTP/1.1
Host: api-testnet.truvera.io
Authorization: Bearer YOUR_SECRET_TOKEN
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-1e316e7d6f59A DID
did:cheqd:testnet:ac2b9027-ec1a-4ee2-aad1-1e316e7d6f59Profile has been updated
Error creating profile
Transaction limit reached or upgrade required to proceed
PATCH /profiles/{did} HTTP/1.1
Host: api-testnet.truvera.io
Authorization: Bearer YOUR_SECRET_TOKEN
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-1e316e7d6f59Profile Deleted
No content
Error deleting profile
Profile was not found
DELETE /profiles/{did} HTTP/1.1
Host: api-testnet.truvera.io
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
No content
Last updated
Was this helpful?