PUT /api/users/988725682/mail_notifications { "subscription": "subscribe to all hosts", "mail_notification": {} } 200 {}
Param name | Description |
---|---|
location_id optional |
Set the current location context for the request Validations:
|
organization_id optional |
Set the current organization context for the request Validations:
|
user_id required |
Validations:
|
mail_notification_id required |
Validations:
|
interval optional |
Mail notification interval option, e.g. Daily, Weekly or Monthly. Required for summary notification Validations:
|
subscription optional |
Mail notification subscription option, e.g. Subscribe, Subscribe to my hosts or Subscribe to all hosts. Required for host built and config error state Validations:
|
mail_query optional |
Relevant only for audit summary notification Validations:
|