Update notification settings for a specific message

Mark a specific message as read. This helps you keep track of your notifications and ensure you don't miss important information. A unique requestId is returned upon completion to follow up on the operation.

Path Parameters

id string required Example

id parameter

Headers

Accept Example
Content-Type Example

Body

required
application/json
client_id string
email_settings object
slack_settings object
discord_settings object
teams_settings object
in_app_settings object
alert_thresholds object
id integer
url string
name string
description string
check_interval integer
timeout integer
max_response_time integer
consecutive_failures integer
method string
expected_status_codes array
search_string string
check_ssl boolean
ssl_alert_days integer
alert_channels array
action string

Responses

200
success boolean
timestamp string
requestId string
data object
PUT https://cloud.hostup.se/api/notifications/{id}
For AI assistants
cURL
curl -X PUT "https://cloud.hostup.se/api/notifications/preferences" \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "client_id": "string",
    "email_settings": {
      "types": [
        "string"
      ],
      "enabled": true,
      "verified": true
    },
    "slack_settings": {
      "types": [
        "string"
      ],
      "enabled": true
    },
    "discord_settings": {
      "types": [
        "string"
      ],
      "enabled": true
    },
    "teams_settings": {
      "types": [
        "string"
      ],
      "enabled": true
    },
    "in_app_settings": {
      "types": [
        "string"
      ],
      "enabled": true
    },
    "alert_thresholds": {
      "cpu": 0,
      "disk": 0,
      "memory": 0,
      "spending": {
        "monthly": 0,
        "unusual": 0
      },
      "bandwidth": 0
    },
    "id": 0,
    "url": "string",
    "name": "string",
    "description": "string",
    "check_interval": 0,
    "timeout": 0,
    "max_response_time": 0,
    "consecutive_failures": 0,
    "method": "string",
    "expected_status_codes": [
      0
    ],
    "search_string": "string",
    "check_ssl": true,
    "ssl_alert_days": 0,
    "alert_channels": [
      "string"
    ],
    "action": "string"
  }'
Response
{
  "success": true,
  "timestamp": "string",
  "requestId": "string",
  "data": {
    "success": true,
    "preferences": {
      "client_id": "string",
      "email_settings": {
        "types": [
          "string"
        ],
        "enabled": true,
        "verified": true
      },
      "slack_settings": {
        "types": [
          "string"
        ],
        "enabled": true
      },
      "discord_settings": {
        "types": [
          "string"
        ],
        "enabled": true
      },
      "teams_settings": {
        "types": [
          "string"
        ],
        "enabled": true
      },
      "in_app_settings": {
        "types": [
          "string"
        ],
        "enabled": true
      },
      "alert_thresholds": {
        "cpu": 0,
        "disk": 0,
        "memory": 0,
        "spending": {
          "monthly": 0,
          "unusual": 0
        },
        "bandwidth": 0
      }
    }
  }
}
Request Body
{
  "client_id": "string",
  "email_settings": {
    "types": [
      "string"
    ],
    "enabled": true,
    "verified": true
  },
  "slack_settings": {
    "types": [
      "string"
    ],
    "enabled": true
  },
  "discord_settings": {
    "types": [
      "string"
    ],
    "enabled": true
  },
  "teams_settings": {
    "types": [
      "string"
    ],
    "enabled": true
  },
  "in_app_settings": {
    "types": [
      "string"
    ],
    "enabled": true
  },
  "alert_thresholds": {
    "cpu": 0,
    "disk": 0,
    "memory": 0,
    "spending": {
      "monthly": 0,
      "unusual": 0
    },
    "bandwidth": 0
  },
  "id": 0,
  "url": "string",
  "name": "string",
  "description": "string",
  "check_interval": 0,
  "timeout": 0,
  "max_response_time": 0,
  "consecutive_failures": 0,
  "method": "string",
  "expected_status_codes": [
    0
  ],
  "search_string": "string",
  "check_ssl": true,
  "ssl_alert_days": 0,
  "alert_channels": [
    "string"
  ],
  "action": "string"
}