Recommended when:
A notification channel needs to be deactivated temporarily or reactivated later for continued use.
Important notes:
- The request must include the
enabled
field (boolean) and thepriority
of the channel - Setting
enabled: false
deactivates delivery, whiletrue
reactivates it - This action does not delete or modify the channel configuration
To test the channel after enabling it, use the Test Notification Channel endpoint. To permanently remove a channel, see Delete Notification Channel.
Authorization: Bearer YOUR_TOKEN
Expected Behavior:
- On success, the system will update the enabled status of the notification channel and return a confirmation message.
- If the request is unauthorized or invalid, the system will respond with an appropriate error message, such as unauthorized access or invalid input.