Actions
AuthUpdate¶
authUpdate(
param: AccountRequest
): AccountResponse
AccountRequest
field | type | description | note |
---|---|---|---|
id | String | 사용자 did | |
context | String | ||
authentication | String[] | ||
verificationMethod | List<VerificationMethod> |
VerificationMethod
field | type | description | note |
---|---|---|---|
id | String | 사용자 did | |
type | String | ||
controller | String | ||
publicKeyBase58 | String |
AccountResponse
field | type | description | note |
---|---|---|---|
id | String | 사용자 did | |
context | String | ||
authentication | String[] | ||
verificationMethod | List<VerificationMethod> | ||
created | String | ||
updated | String | ||
command | String |
Request Example
query {
authUpdate (param: {
id: "G5rw9qAMbozGxySHkMaztD"
context: "https://www.w3.org/ns/did/v1"
authentication: [
"G5rw9qAMbozGxySHkMaztD"
]
verificationMethod: [
{
id: "G5rw9qAMbozGxySHkMaztD"
type: "Ed25519VerificationKey2018"
controller: "G5rw9qAMbozGxySHkMaztD"
publicKeyBase58: "9Dq5ZBptrf7Kgxe3K2Xw3aFwHSdoStiUrs98QPRgbrbt"
}
]
}) {
created
updated
verificationMethod {
id
}
}
}
Response Example
{
"data": {
"authUpdate": {
"created": "2021-12-21 16:38:39",
"updated": "2021-12-21 19:26:36",
"verificationMethod": [
{
"id": "G5rw9qAMbozGxySHkMaztD"
}
]
}
}
}
이름없음이(가) 3년 이상 전에 변경 · 1 revisions