Rivier/ Reference/ compliance

Publish an approved version at its public address with an effective date

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

Publish an approved version at its public address with an effective date. A person with the manager role.

Before you call

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

Parameters

  • docstringrequired
    In the path
  • nintegerrequired
    In the path

Request bodyapplication/json, required

  • acknowledgeNotLegalAdvicebooleanrequired
  • effectiveDatestring
    Pattern: ^\d{4}-\d{2}-\d{2}$.

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