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