# Toggle notification preference Enable or disable a notification type for the platform. This sets the NotificationPreference, not the template. Endpoint: PATCH /api/notification/v1/platforms/{platform_key}/templates/{notification_type}/toggle/ Version: 4.84.1-ai-plus Security: PlatformApiKeyAuthentication ## Path parameters: - `notification_type` (string, required) - `platform_key` (string, required) ## Request fields (application/json): - `allow_notification` (boolean) ## Response 200 fields (application/json): - `allow_notification` (boolean, required)