Consent
Consent - Publish Version
Publishes a NEW consent-document version (the table is immutable; this is how you "edit"). When active=true (default), the prior active document of the same consent_type + offer_id is deactivated so exactly one stays live. body_html holds plain text or HTML. partners is an optional JSON snapshot of disclosed partners (TCPA).
post/admin/v1/consent-documents
Request
- Base URL: https://api.juju.com
- URL: https://api.juju.com/admin/v1/consent-documents
- Auth: none declared
Request body
Example request
{
"consent_type": "terms_of_service",
"version": "2026-08-18"
}Response
New version published.
Example response
{
"data": {
"consent_type": "terms_of_service",
"version": "2026-08-18"
},
"errors": []
}Changes
No recorded changes to this operation across all 1 revision of this API.