VerificationRelationships

Add a verification relationship

Binds an existing verification method to a verification relationship purpose. The default is a referenced relationship; set embed to true to serialize the relationship as an inline verification method object.

post/identifiers/{did}/verification-relationships

Parameters

./common-components.yml#/components/parameters/CorrelationId — unresolved $ref

Request body

verificationMethodIdstring required

The verification method id (or fragment) to bind.

purposestring required

One of authentication, assertionMethod, keyAgreement, capabilityInvocation, capabilityDelegation.

embedboolean

Render this relationship as an embedded verification method instead of a DID URL reference.

Example request

{
  "verificationMethodId": "#key-1",
  "purpose": "assertionMethod"
}

Response

Verification relationship added successfully.

VerificationRelationship required— unresolved $ref

Changes