Company logoTrust Center Documentation

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" | "de" | "fr"
validity_in_months?integer

Validity period of the NDA in months

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
  }'
curl -X PATCH https://app.orbiqhq.com/api/v1/nda-templates/550e8400-e29b-41d4-a716-446655440000 \
  -H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "title": "Updated Bilateral NDA",
    "validity_in_months": 12
  }'
{
  "template": {
    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
    "tenant": "93360892-48a4-4f76-a117-3304c9c61771",
    "title": "string",
    "type": "standard",
    "content_markdown": "string",
    "is_active": true,
    "language": "en",
    "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?