latestOpenAPI 3.1.02026-08-218667571.2 MB

a8ca30023371

Admin APIs
Legal

Update Tou

Update TOU content (creates new version).

post/api/v1/admin/legal/tous

Request body

contentstring required
change_type'substantive' | 'typo_formatting' required
change_reasonstring required

Required reason for change

effective_atstring date-time nullable

Effective date/time for this ToU version. Defaults to published_at if not provided.

base_version_idstring uuid nullable

Optimistic concurrency check. The TOU version id the user based their edit on. If the latest published TOU has a different id, the update will be rejected and the user should reload.

Response

Successful Response

idstring uuid required
contentstring required
effective_atstring date-time required
checksumstring required
created_atstring date-time required
version_numinteger required
published_atstring date-time required
requires_reacceptanceboolean required
change_reasonstring required
created_bystring required