Rivier/ Reference/ compliance

Approve a draft

post/compliance/legal/documents/{doc}/versions/{n}/approve

Approve a draft. A person with the approver role, acknowledging that it is a template and not legal advice.

Before you call

Credential
Authorization: Bearer $KEY
Scope
compliance:write
Sdk
compliance.legalVersion.approve
Cli
compliance legal version approve

Parameters

  • docstringrequired
    In the path
  • nintegerrequired
    In the path

Request bodyapplication/json, required

  • acknowledgeNotLegalAdvicebooleanrequired
  • notestring
    At most 500 characters.

Responses

  • 200application/json
    Success

    object

  • 400application/json
    The request was malformed
    • errorstringrequired
    • messagestring
  • 401application/json
    No valid credential
    • errorstringrequired
    • messagestring
  • 403application/json
    The credential lacks the scope, origin or address
    • errorstringrequired
    • messagestring
  • 429application/json
    Over the key's rate limit; see Retry-After
    • errorstringrequired
    • messagestring

This page as Markdown