Superadmin APIs/Policies
Update Policy
PATCH
/superadmin/policyBearer token required
SUPERADMINContent-Type:
application/jsonRequest Example
JSON
{
"PolicyType": "PRIVACY_POLICY",
"PolicyText": "<h1>Privacy Policy</h1><p>...</p>"
}Code Examples
curl -X PATCH 'https://<your-domain>:3001/superadmin/policy' \
-H 'Authorization: Bearer <token>' \
-H 'Content-Type: application/json' \
-d '{
"PolicyType": "PRIVACY_POLICY",
"PolicyText": "<h1>Privacy Policy</h1><p>...</p>"
}'