Sign document
POST/api/management/signature/sign
Sign a JSON document with default or defined key
Request
- application/json
Body
required
typestring
plainDocumentobjectrequired
keyIdstring
normalizationstring
proofPurposestring
optionsobject
embeddedVerificationMethodboolean
Responses
- 200
- 403
- 404
- application/json
- Schema
- Example (from schema)
Schema
proof
object
required
typestringrequired
createddate-timerequired
proofPurposestringrequired
jwsstringrequired
verificationMethodstringrequired
{
"proof": {
"type": "string",
"created": "2024-07-29T15:51:28.071Z",
"proofPurpose": "string",
"jws": "string",
"verificationMethod": "string"
}
}
Forbidden
- application/json
- Schema
- Example (from schema)
Schema
namestringrequired
statusstringrequired
codenumberrequired
messageobject
errorstring
{
"name": "string",
"status": "string",
"code": 0,
"message": {},
"error": "string"
}
Resource not found
- application/json
- Schema
- Example (from schema)
Schema
namestringrequired
statusstringrequired
codenumberrequired
messageobject
errorstring
{
"name": "string",
"status": "string",
"code": 0,
"message": {},
"error": "string"
}