v1

latestOpenAPI 3.0.22026-07-144652931.4 MB
Services

Convert a Service's Event Rules into Event Orchestration Rules

Convert this Service's Event Rules into functionally equivalent Event Orchestration Rules.

Sending a request to this API endpoint has several effects:

  1. Automatically creates Event Orchestration Rules for this Service that will behave identically as this Service's currently configured Event Rules.
  2. 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

post/services/{id}/rules/convert

Path parameters

idstring required

The ID of the resource.

Headers

Acceptstring required

The Accept header is used as a versioning header.

Content-Type'application/json' required

Response

The Event Orchestration Rules were successfully created

convert_statusstring

Did PagerDuty successfully create equivalent Event Orchestration rules

converted_tostring url

the API URL at which the newly created Event Orchestration rules are accessible