Admin endpoint to update social media URLs. Requires BACKEND_SECRET for authentication.
x-backend-secret header with a value matching the
BACKEND_SECRET environment variable configured on the server.
x-user-id: User ID of the administrator making the change (defaults to “admin”)facebook: Facebook page URL (must be valid URL)instagram: Instagram profile URL (must be valid URL)linkedin: LinkedIn company page URL (must be valid URL)twitter: Twitter/X profile URL (must be valid URL)x-user-id header)app_configuration collection to see the audit trail:
Backend secret for authentication
User ID performing the update (optional, defaults to 'admin')
Social media URLs updated successfully.
true {
"message": "Social media URLs updated successfully",
"socialMediaUrls": {
"facebook": "https://www.facebook.com/handauncle",
"instagram": "https://instagram.com/handauncle.official",
"linkedin": "https://www.linkedin.com/company/handauncle",
"twitter": "https://x.com/handauncle"
}
}