Skip to main content

tools.ozone.verification.grantVerifications

#main

Grant verifications to multiple subjects. Allows batch processing of up to 100 verifications at once.

Input

  • Encoding: application/json
PropertyTypeKnown ValuesRequiredDescription
verificationsarray of #verificationInput-Array of verification requests to process

Output

  • Encoding: application/json
PropertyTypeKnown ValuesRequiredDescription
verificationsarray of tools.ozone.verification.defs#verificationView--
failedVerificationsarray of #grantError--

#verificationInput

PropertyTypeKnown ValuesRequiredDescription
subjectstring (did)-The did of the subject being verified
handlestring (handle)-Handle of the subject the verification applies to at the moment of verifying.
displayNamestring-Display name of the subject the verification applies to at the moment of verifying.
createdAtstring (datetime)-Timestamp for verification record. Defaults to current time when not specified.

#grantError

Error object for failed verifications.

PropertyTypeKnown ValuesRequiredDescription
errorstring-Error message describing the reason for failure.
subjectstring (did)-The did of the subject being verified