Update DID
PUT /{id}/did.json
This endpoint can only be called by the owner of the DID. Corresponds to the Update method speficied at https://w3c-ccg.github.io/did-method-web/#update.
Parameters
Path Parameters
ID: An identifier.
Query Parameters
Only valid for GET requests
Request Body
VerifiablePresentation: W3C Verifiable Presentation, see https://w3c.github.io/vc-data-model/.
object
VerifiableCredential: W3C Verifiable Credential, see https://w3c.github.io/vc-data-model/.
object
DID Document: W3C DID Document, see https://w3c.github.io/did-core/.
object
DID: W3C Decentralized Identifier (DID), see https://w3c.github.io/did-core/.
object
object
Responses
200
Identifier updated.
ProofParameters: Proof parameters define properties that need to be present in the next submitted Verifiable Presentation for PUT, POST and DELETE requests.
object
DID: W3C Decentralized Identifier (DID), see https://w3c.github.io/did-core/.
Challenge computed by the current state of the DID document, according to proofs.
Domain name of the service, according to proofs.
Proof purpose according to verification relationship and proofs.
400
Bad Request. DID document missing or not valid.
401
Unauthorized. Authorization failed due to missing or broken proof signature.
404
Not Found. DID of issuer could not be resolved or DID that is being updated does not exist.
500
Internal Server Error.