Skip to main content
POST
/
editPrivacyPolicy
Edit privacy policy (WARNING: no auth required)
curl --request POST \
  --url http://localhost/mogl/mogl-backend/api/editPrivacyPolicy \
  --header 'Content-Type: application/json' \
  --data '
{
  "id": 1,
  "title": "Privacy Policy",
  "text": "search term"
}
'

Documentation Index

Fetch the complete documentation index at: https://developer.mogl.online/llms.txt

Use this file to discover all available pages before exploring further.

Body

application/json
id
integer

Privacy policy ID (required)

Example:

1

title
string

Title (required)

Example:

"Privacy Policy"

text
string

Policy content (required, NOT content)

Example:

"search term"

Response

200

Privacy policy updated