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
Request
- Base URLhttps://api.loyalty.dog
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
authorizationstring nullable
Request body
Response
Successful Response
unknown required
Changes
No recorded changes to this operation across all 7 revisions of this API.