Skip to content

Update notification preferences

PUT
/notifications/preferences
curl --request PUT \
--url https://shoehorn.example.com/api/v1/notifications/preferences \
--header 'Content-Type: application/json' \
--data '{ "email_enabled": true, "governance_actions": true, "scorecard_changes": true, "deployment_events": true, "forge_run_updates": true, "security_findings": true }'
Media type application/json
object
email_enabled
boolean
governance_actions
boolean
scorecard_changes
boolean
deployment_events
boolean
forge_run_updates
boolean
security_findings
boolean
Example generated
{
"email_enabled": true,
"governance_actions": true,
"scorecard_changes": true,
"deployment_events": true,
"forge_run_updates": true,
"security_findings": true
}

Preferences updated