Update NDA template version status
Update the status of a draft version to published
Authorization
bearerAuth AuthorizationBearer <token>
JWT token obtained from login endpoint
In: header
Path Parameters
id*string
Template ID
Format
uuidversionId*string
Version ID
Format
uuidRequest Body
application/json
status*string
Version status (only Published is allowed)
Value in
"published"Response Body
application/json
application/json
application/json
application/json
application/json
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" }'{
"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?