POST /dashboard/account/preferences

Update preferences

Updates user preferences like email subscriptions and display settings.

Request Body

email_subscribedstring

Subscribe to email notifications

onoff
show_cancelled_itemsstring

Show cancelled services in lists

onoff

Response

200
successboolean

Request

curl -X POST "https://api.royalehosting.net/dashboard/account/preferences" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "x-organization-id: YOUR_ORG_ID" \
  -H "Content-Type: application/json" \
  -d '{}'

Response

{
  "success": true
}