Update NDA template version status
Update the status of a draft version to published
AuthorizationBearer <token>
JWT token obtained from login endpoint
In: header
Path Parameters
idstring
Template ID
Format
uuid
versionIdstring
Version ID
Format
uuid
statusstring
Version status (only Published is allowed)
Value in
"published"
Response Body
curl -X PATCH "https://app.orbiqhq.com/api/v1/nda-templates/497f6eca-6276-4993-bfeb-53cbbbba6f08/version/497f6eca-6276-4993-bfeb-53cbbbba6f08" \ -H "Content-Type: application/json" \ -d '{ "status": "published" }'
curl -X PATCH https://app.orbiqhq.com/api/v1/nda-templates/550e8400-e29b-41d4-a716-446655440000/version/660e8400-e29b-41d4-a716-446655440001 \ -H "Authorization: Bearer YOUR_ACCESS_TOKEN" \ -H "Content-Type: application/json" \ -d '{ "status": "published" }'
{
"success": true,
"message": "Version published successfully"
}
{
"error": "Template ID and Version ID are required"
}
{
"error": "Unauthorized"
}
{
"error": "Version not found"
}
{
"error": "Failed to update version status"
}
How is this guide?