Verify a multi-hop delegation chain

View as Markdown

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

OR
X-API-Keystring
API Key authentication via header

Request

This endpoint expects an object.
agentDidstringRequired
Leaf agent DID.
delegationChainlist of objectsRequired
actionstringOptional
Optional capability that every hop must cover.

Response

Verification complete (valid may be true or false; per-hop error codes surface in the hops[] array).

validboolean
hopCountinteger>=0
hopslist of objects
errorslist of strings

Errors

400
Bad Request Error