v2 Admin
Enable/disable new purchases for a channel/domain (audited)
EP-023-T23 (+ EP-024 per-domain web). Server-authoritative runtime switch, without a restart; written through this endpoint, so the change is audited ([AUDIT] purchase_flag_changed). Does not block existing subscribers. For channel=web, domain is required and must be an allow-listed public host (each site domain has its own switch). CLI: deploy/v2-tools/purchase-flags.sh.
post/api/v2/admin/purchase-flags
Request
- Base URL: https://pdf2md.dev
- URL: https://pdf2md.dev/api/v2/admin/purchase-flags
- Auth: HTTP bearer
Request body
Response
New flags
Changes
No recorded changes to this operation across all 1 revision of this API.