notification_settings
Update notification settings
Changed onpatch/settings/notification-settings
Request
- Base URLhttps://staging.api-golang.boilerplate.hng.tech/api/v1
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"mobile_push_notifications": true,
"email_notification_activity_in_workspace": true,
"email_notification_always_send_email_notifications": true,
"email_notification_email_digest": true,
"email_notification_announcement_and_update_emails": true,
"slack_notifications_activity_on_your_workspace": true,
"slack_notifications_always_send_email_notifications": true,
"slack_notifications_announcement_and_update_emails": true
}Response
Notification preferences updated successfully
Example response
{
"status": "success",
"message": "Notification preferences updated successfully",
"status_code": 200,
"data": {
"mobile_push_notifications": true,
"email_notification_activity_in_workspace": true,
"email_notification_always_send_email_notifications": true,
"email_notification_email_digest": true,
"email_notification_announcement_and_update_emails": true,
"slack_notifications_activity_on_your_workspace": true,
"slack_notifications_always_send_email_notifications": true,
"slack_notifications_announcement_and_update_emails": true
}
}Changes
- info
endpoint added
- info
- breaking
api path removed without deprecation
- breaking