Skip to main content
Add verification method in a public OpenPayload DID document. A verification method publishes a public key that compatible clients can use to verify signatures. Adding the method does not automatically authorize it for every purpose; authentication and service authorization are separate references. Read Authorize a Directory update before signing.

Path parameters

string
required
The DID to update.

Request body

string
required
The DID to update. It must match the path.
string
required
The operation name. Use AddVerificationMethod.
object
required
The public verification method value for this operation.
string
required
The request nonce.
string
required
The authorization expiration time.
string
The public signing-key identifier. Defaults to root.
string
required
The payload supplied by an OpenPayload-compatible signer.
string
required
The authorization signature.

Response

string
required
The submission status.
string
required
The affected DID.
string
required
The document operation.
string
required
The transaction hash.
string
required
A human-readable submission result.
202 Accepted means the Directory accepted the request for processing. It does not confirm final settlement.

Straight to the point

  • Action: AddVerificationMethod
  • Signed item: complete verification_method object
  • Controller must equal the DID