Vai al contenuto

Update template

Richiesta

Updates a specific template.

Sicurezza
Bearer or PersonalAccessToken
Percorso
organizationIdstring, (uuid)obbligatorio

Unique identifier of the organization

templateIdstring, (uuid)obbligatorio

Unique identifier of the template

Corpoapplication/jsonobbligatorio
namestringobbligatorio

The template name.

Esempio:"Updated NDA template"
expirationAbsoluteUpdateTemplateExpirationRequest (object) or RelativeUpdateTemplateExpirationRequest (object)obbligatorio
One of:

Absolute expiration configuration.

reminderobject(UpdateTemplateReminderRequest)obbligatorio

Reminder configuration.

qualifiedTimeStampboolean or null

Whether all signatures in the template must use a qualified timestamp server. Optional. When omitted, the value false is applied at the downstream Nova boundary.

Esempio:true
signatureReasonstring or null

The signature reason persisted on the template. Null or omitted overwrites the persisted value to null (full PUT semantics).

Esempio:"Approved by Mario Rossi"
signatureFormatstring(SignatureFormat)

The signature format for an envelope or template.

Enum:"Pades""Cades"
agreementsArray of objects or null(Agreement)

The agreements per language. Null means no change (keep existing); empty list clears all agreements.

fileRestrictedVisibilityboolean or null

Whether file visibility is restricted per recipient. Null means no change.

Esempio:false
afterSendRedirectUrlstring or null

The URL to redirect to after sending the envelope. Null or omitted overwrites the persisted value to null (full PUT semantics).

Esempio:"https://example.com/envelope-sent"
PUT
/api/v1/organizations/{organizationId}/templates/{templateId}
curl -i -X PUT \
  '/api/v1/organizations/{organizationId}/templates/{templateId}' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "name": "Updated NDA template",
    "expiration": {
      "mode": "Absolute",
      "expiresAt": "2026-12-11T14:00:03.3673258+00:00"
    },
    "reminder": {
      "enabled": true,
      "firstReminderInDays": 5,
      "resendIntervalInDays": 3,
      "beforeExpirationInDays": 2
    },
    "qualifiedTimeStamp": true,
    "signatureReason": "Approved by Mario Rossi",
    "afterSendRedirectUrl": "https://example.com/envelope-sent"
  }'

Risposte

No Content

Risposta
Nessun contenuto