Rivier/ Reference/ compliance

Change the wording of one section of a draft

patch/compliance/legal/documents/{doc}/versions/{n}/sections/{clause}

Change the wording of one section of a draft; an edit sends an approved version back to draft.

Before you call

Credential
Authorization: Bearer $KEY
Scope
compliance:write
Mcp
rivier_legal_edit_section
Graphql
Mutation.complianceLegalSectionEdit
Sdk
compliance.legalSection.edit
Cli
compliance legal section edit

Parameters

  • docstringrequired
    In the path
  • nintegerrequired
    In the path
  • clausestringrequired
    In the path

Request bodyapplication/json, required

  • titlestring
    At most 200 characters.
  • bodylist of string

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