Setting User Credentials
SETS HEDERA CREDENTIALS
Sets Hedera credentials for the user. For users with the Standard Registry role it also creates an address book.
Authorizations
Path parameters
usernamestringRequired
The name of the user for whom to update the information.
Body
entitystringRequired
hederaAccountIdstringRequired
hederaAccountKeystringRequired
parentstring | nullableOptional
vcDocumentall of | nullableOptional
didDocumentall of | nullableOptional
Responses
200
Created.
401
Unauthorized
403
Forbidden.
500
Internal server error.
application/json
put
PUT /api/v1/profiles/{username} HTTP/1.1
Host:
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 438
{
"entity": "text",
"hederaAccountId": "text",
"hederaAccountKey": "text",
"parent": "text",
"vcDocument": {
"@context": [
"text"
],
"id": "text",
"type": "text"
},
"didDocument": {
"id": "text",
"context": [
"text"
],
"alsoKnownAs": [
"text"
],
"controller": [
"text"
],
"verificationMethod": [
{}
],
"authentication": [
{}
],
"assertionMethod": [
{}
],
"keyAgreement": [
{}
],
"capabilityInvocation": [
{}
],
"capabilityDelegation": [
{}
],
"service": [
{}
]
},
"didKeys": [
{
"id": "text",
"key": "text"
}
]
}
No content
Last updated