Update Document
PUT/document/:document_id
The Update Document API allows users to modify and update the details of a specific document. Note that this API only allows to update a few parameters, you cannot change the file once it the document is created.
Request
Path Parameters
ID of the document that needs to be updated
- application/json
Body
Provide below parameter to update templates (at least one parameter required)
true - this option will enable OTP verification. Users will receive a verification code via email, which they must enter to sign the document. false - this option will disable OTP verification, allowing users to sign the document directly without additional steps.
true - this option will enable a guided tour for signers, providing instructions during the signing process. false - disable the guided tour, ensuring a faster, uninterrupted signing experience.
Responses
- 200
- 400
- 404
- 405
Document updated successfully!
- application/json
- Schema
- Example (from schema)
Schema
{
"objectId": "asd2HsP4Hp",
"updatedAt": "2023-10-07T16:49:56.000Z"
}
Please provide valid field names!
- application/json
- Schema
- Example (from schema)
Schema
{
"error": "Please provide valid field names!"
}
Document not found!
- application/json
- Schema
- Example (from schema)
Schema
{
"error": "Document not found!"
}
Invalid API Token!
- application/json
- Schema
- Example (from schema)
Schema
{
"error": "Invalid API token!"
}