Firewall

Update Attack Notification Settings

Changed on

Update attack notification settings for a specific IP address on a Virtual or Dedicated Server

put/api/services/{id}/firewall/{ip}/attack-notification

Request

  • Base URL: https://nodesty.com
  • URL: https://nodesty.com/api/services/{id}/firewall/{ip}/attack-notification
  • Auth: API key in header Authorization

Path parameters

idstring required
Example:1

Service ID

ipstring required
Example:77.90.14.1

IP Address

Request body

discordWebhookURLstring nullable

Discord webhook URL for attack notifications

emailNotificationboolean

Whether email notifications are enabled

Example request

{
  "discordWebhookURL": "https://discord.com/api/webhooks/123456789012345678/abcdefghijklmnopqrstuvwxyz",
  "emailNotification": true
}

Response

Attack notification settings updated successfully

discordWebhookURLstring

Discord webhook URL for attack notifications

emailNotificationboolean

Whether email notifications are enabled

Example response

{
  "discordWebhookURL": "https://discord.com/api/webhooks/123456789012345678/abcdefghijklmnopqrstuvwxyz",
  "emailNotification": true
}

Changes