Rename the grades to a country's names, as previewed
POST/admin/api/grades/presets/:key
People keep their grade. The plan is checked against expectedState under row locks before anything changes. A browser session must send the CSRF token in X-CSRF-Token; API-key calls do not.
Request​
Responses​
- 200
- 401
- 403
- 404
- 409
The changes that were applied (same shape as the preview)
Unauthorized
Admin role required, or the CSRF token is missing
No grade names for that key
The grades changed after the preview; nothing was changed
Can't find what you need? Ask in Discord, or open an issue on the ChurchCRM repository.