Update a notification setting
PATCH {{baseUrl}}/notification-settings/:notification_setting_id
Updates a notification setting (notification destination) using its ID.
When updating subscribed events, send the complete list of event types that you'd like to subscribe to — including existing event types. If you omit event types, they're removed from the notification setting.
You only need to pass an event type name. Paddle responds with the full event type object for each event type.
If successful, your response includes a copy of the updated notification setting entity.
Request Body
{"description"=>"<string>", "destination"=>"<string>", "active"=>true, "api_version"=>"<integer>", "include_sensitive_fields"=>false, "subscribed_events"=>["<string>", "<string>"]}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |