POST /services/{id}/rules/convert
Convert this Service's Event Rules into functionally equivalent Event Orchestration Rules.
Sending a request to this API endpoint has several effects:
- Automatically creates Event Orchestration Rules for this Service that will behave identically as this Service's currently configured Event Rules.
- Makes all existing Event Rules for this Service read-only. All future updates need to be made via the newly created Event Orchestration rules.
Sending a request to this API endpoint will not change how future events will be processed. If past events for this Service have been evaluated via Event Rules then new events sent to this Service will also continue to be evaluated via the (now read-only) Event Rules. To change this Service so that new events start being evaluated via the newly created Event Orchestration Rules use the Update the Service Orchestration active status for a Service API.
End-of-life
Event Rules will end-of-life soon. We highly recommend that you use this API to migrate to Event Orchestration as soon as possible so you can take advantage of the new functionality, such as improved UI, rule creation, APIs and Terraform support, advanced conditions, and rule nesting.
Scoped OAuth requires: services.write
Servers
- https://api.pagerduty.com
Path parameters
Name | Type | Required | Description |
---|---|---|---|
id |
String | Yes |
The ID of the resource. |
Request headers
Name | Type | Required | Description |
---|---|---|---|
Accept |
String | Yes |
The Default value: "application/vnd.pagerduty+json;version=2" |
Content-Type |
String | Yes |
Possible values:
Default value: "application/json" |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.