Deprecation Notice - Alerts Policy Channels
Update
<strong>🔥 This endpoint will be deprecated after 2024/01 🔥</strong> New users should use <a href="https://docs.newrelic.com/docs/alerts-applied-intelligence/new-relic-alerts/advanced-alerts/alerts-nerdgraph/nerdgraph-api-examples/">these docs about managing alerts via NerdGraph.</a>
<hr> <p>This API endpoint updates policy/channel associations.</p> <p>Note: <a href="https://docs.newrelic.com/docs/apis/rest-api-v2/requirements/rest-api-key">Admin User’s API Key</a> is required.</p> <p>See our documentation for a discussion on <a href="https://docs.newrelic.com/docs/alerts/new-relic-alerts/rest-api-alerts/rest-api-calls-new-relic-alerts#policy-channels-update">updating notification channels with policies</a>.</p>put/alerts_policy_channels.json
Request
- Base URLhttps://api.newrelic.com/v2
- AuthAPI key in header Api-Key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
policy_idinteger required
Policy ID
channel_idsstring[] required
Channel IDs
Response
No response was specified
Changes
No recorded changes to this operation across all 1 revision of this API.