Resetter Revocation
Once a list of resetters are registered and approved, the client could also revoke the current set of resetters with did_revoke_resetters
operation. However, the client still needs to get approvals from the current resetters. For the revocation to be complete, the combined voting powers from all resetters must surpass the threshold of "acceptable_votes"
.
For a revoke request to get approved, not all resetters need to respond to the request. The approval only requires that the combined vote powers of responding resetters surpass the threshold of"acceptable_votes"
.
A DID can only have one list of resetters at a time. To register a new set of resetters, the old one must be first revoked.
When a set of resetters are registered, if not all of those resetters approve the registration, this set of resetters will remain inactive. In this case, the client could revoke these inactive resetters without their approvals and then register a new set.
did_revoke_resetters
DELETE
https://test-network.finema.co/did/<did_address>/reset
Request Body
Name | Type | Description |
---|---|---|
operation | string | The method's name that is "did_revoke_resetters". |
did_address | string | The DID address. |
current_key | string | The current public key in the series. It is used to verify the request's signature. |
next_key_hash | string | The SHA-256 hash of the next public key in the series. |
nonce | number | The request nonce. |
Example Message and Request
The above message can then be encoded in Base64 and signed with ECDSA to obtain the following HTTP request
Last updated