v2

latestOpenAPI 3.1.02026-08-01244220427.0 KB
Admin
GDPR

Publish Terms Version

Publish a new version of a legal document (admin only, SWE-380).

Creating a new version will cause all users whose accepted version does not match to receive a 403 on protected routes until they re-accept.

post/v2/admin/terms-versions

Headers

authorizationstring nullable

Request body

documentType'tos' | 'dpa' | 'privacy' required
versionstring required
effectiveDatestring date-time required
contentUrlstring required
summaryOfChangesstring nullable

Response

Successful Response

{"stackTrail":"paths:/v2/admin/terms-versions:post:responses:201:content:application/json:schema","oasType":"schema","type":"unknown"}