Company logoTrust Center Documentation
API v1 ReferenceNda templatesId

Update NDA template

Update an existing NDA template

PATCH
/api/v1/nda-templates/{id}
AuthorizationBearer <token>

JWT token obtained from login endpoint

In: header

Path Parameters

idstring

Template ID

Formatuuid
title?string

Template title

type?string

Agreement type

Value in"standard" | "bilateral" | "unilateral" | "multilateral"
content_markdown?string

NDA content in markdown format

language?string

Template language

Value in"en-US" | "de-DE" | "fr-FR"
validity_in_months?integer

Validity period of the NDA in months

status?string

Template status (only status-only updates allowed for published templates)

Value in"draft" | "published" | "archived"
createVersion?boolean

Create a new version after update (internal use)

autoSave?boolean

Auto-save flag (internal use)

Response Body

curl -X PATCH "https://app.orbiqhq.com/api/v1/nda-templates/497f6eca-6276-4993-bfeb-53cbbbba6f08" \  -H "Content-Type: application/json" \  -d '{    "title": "Updated Bilateral NDA",    "content_markdown": "# Updated Non-Disclosure Agreement\n\nThis updated agreement...",    "validity_in_months": 12  }'
{
  "template": {
    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
    "tenant": "93360892-48a4-4f76-a117-3304c9c61771",
    "title": "string",
    "type": "standard",
    "content_markdown": "string",
    "status": "draft",
    "language": "en-US",
    "validity_in_months": 0,
    "hasActiveVersion": true,
    "date_created": "2019-08-24T14:15:22Z",
    "date_updated": "2019-08-24T14:15:22Z",
    "user_created": "string",
    "user_updated": "string"
  }
}
{
  "error": "Invalid request parameters"
}
{
  "error": "Unauthorized"
}
{
  "error": "Template not found"
}
{
  "error": "Internal server error"
}

How is this guide?