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
- docstringrequiredIn the path
- nintegerrequiredIn the path
Request bodyapplication/json, required
- acknowledgeNotLegalAdvicebooleanrequired
- effectiveDatestringPattern: ^\d{4}-\d{2}-\d{2}$.
Responses
- 200application/jsonSuccess
object - 400application/jsonThe request was malformed
- errorstringrequired
- messagestring
- 401application/jsonNo valid credential
- errorstringrequired
- messagestring
- 403application/jsonThe credential lacks the scope, origin or address
- errorstringrequired
- messagestring
- 429application/jsonOver the key's rate limit; see Retry-After
- errorstringrequired
- messagestring