Replace sign_envelope
PUT/v1/sign_envelopes/{id}
Full replace with optimistic locking.
Data model
This operation works on the entity Sign Envelope (sign_envelope). All 19 fields — type, validation, required status, relationships — are listed in the schema reference.
-
Required fields:
title,documentId -
Server-managed:
_id,schema,schemaVersion,tenantId,version,createdAt,updatedAt,createdBy,updatedBy,deletedAt,deletedBy,status,signers,auditTrail,completedAt,declinedAt,voidedAt,signedDocumentId,certificateDocumentId,documentId,fields,documentSha256,platformSignatureError,signedPdfS3Key,auditTrailPdfS3Key,signedPdfSize,signedAt— the platform assigns these fields; they are discarded in the request.
Path parameters
| Name | Type | Description |
|---|---|---|
idrequired | string |
Example
curl -X PUT https://api.codemeta-os.de/v1/sign_envelopes/{id} \
-H "X-Tenant-Id: $TENANT" \
-b cookies.txtconst result = await cm.sign_envelopes.put();Response codes
| HTTP | Meaning |
|---|---|
200 |
Default Response |