Last updated 1 year ago
Validate DID document format.
/profiles/did-document/validate
curl -L \ --request POST \ --url '/api/v1/profiles/did-document/validate' \ --header 'Authorization: Bearer JWT' \ --header 'Content-Type: application/json' \ --data '{ "id": "text", "context": [ "text" ], "alsoKnownAs": [ "text" ], "controller": [ "text" ], "verificationMethod": [ {} ], "authentication": [ {} ], "assertionMethod": [ {} ], "keyAgreement": [ {} ], "capabilityInvocation": [ {} ], "capabilityDelegation": [ {} ], "service": [ {} ] }'
{ "valid": true, "error": "text", "didDocument": {} }