---
title: "Update an Enablement for an Event Orchestration"
method: PUT
path: "/event_orchestrations/{id}/enablements/{feature_name}"
tags: ["Event Orchestrations"]
---

# Update an Enablement for an Event Orchestration

`PUT /event_orchestrations/{id}/enablements/{feature_name}`

Update the feature enablement setting for a specific product addon on an Event Orchestration. This setting controls enabling or disabling the set of features contained within the addon.
Currently, only `aiops` is supported as a valid feature enablement.

**Warning conditions**:
- If the account is not entitled to use AIOps features, the setting will be updated, but a warning will be returned.

Scoped OAuth requires: `event_orchestrations.write`

## Path parameters

- `id` string, required
- `feature_name` 'aiops', required

## Headers

- `Accept` string, required
- `Content-Type` 'application/json', required

## Request body

- object
  - `enablement` FeatureEnablement, required
    - `feature` string — The name of the product addon whose set of features will be enabled or disabled.
    - `enabled` boolean, required — A boolean value indicating whether the specified product addon is enabled or disabled.
    - `updated_at` string, date-time — The time the feature enablement was last updated.
    - `warnings` object[] — An array of warnings related to this feature enablement. Only present if warning conditions are met.
      - `message` string — The warning message.

## Response `200`

The feature enablement setting was updated.

- object
  - `enablement` FeatureEnablement
    - `feature` string — The name of the product addon whose set of features will be enabled or disabled.
    - `enabled` boolean, required — A boolean value indicating whether the specified product addon is enabled or disabled.
    - `updated_at` string, date-time — The time the feature enablement was last updated.
    - `warnings` object[] — An array of warnings related to this feature enablement. Only present if warning conditions are met.
      - `message` string — The warning message.

## Other responses

- `400` — Caller provided invalid arguments. Please review the response for error details. Retrying with the same arguments will *not* work.
- `403` — Caller is not authorized to view the requested resource. While your authentication is valid, the authenticated user or token does not have permission to perform this action.
- `404` — The requested resource was not found.
- `500` — Internal Server Error the PagerDuty server experienced an error.

---

[API](https://skmtc.net/pagerduty/apis/rest-api.md) · [All operations](https://skmtc.net/pagerduty/apis/rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/pagerduty/rest-api/versions/b679a8f3f02c/schema)
