---
title: "Update an Event Enrichment"
method: PUT
path: "/enrichment/event_enrichments/{id}"
tags: ["Event Enrichments"]
---

# Update an Event Enrichment

`PUT /enrichment/event_enrichments/{id}`

Event Enrichments allow you to automatically add contextual data to events as they're ingested, so that relevant information is available throughout the event, alert, and incident lifecycle. By leveraging the Contextual Data Platform (CDP), you can define rules that extract values from events or query enrichment schemas to populate event fields.

<!-- theme: warning -->

> ### Early Access
> This API is in Early Access and may change at any time. Contact your PagerDuty account team to request access.

Update an existing Event Enrichment.

## Path parameters

- `id` string, required

## Headers

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

## Request body

- object
  - `event_enrichment` EventEnrichment, required
    - `id` string — ID of the Event Enrichment.
    - `name` string — The name of the Event Enrichment.
    - `description` string, nullable — A description of this Event Enrichment's purpose.
    - `is_default` boolean — Indicates whether this Event Enrichment is the account default.
    - `associated_services` integer — The number of Services associated with this Event Enrichment.
    - `associated_event_orchestrations` integer — The number of Event Orchestrations associated with this Event Enrichment.
    - `team` object, nullable — Reference to the team that owns this Event Enrichment.
      - `id` string — The ID of the team.
      - `type` string — A string that determines the schema of the object.
      - `self` string, url — The API show URL at which the object is accessible.
    - `privileges` object, nullable — Details about the read/update permissions of the current user for this Event Enrichment. Only present when `include[]=privileges` is requested.
      - `permissions` string[] — The list of permissions the current user has for this Event Enrichment.
    - `created_at` string, date-time — The date/time the Event Enrichment was created.
    - `created_by` object, nullable — Reference to the user that created the Event Enrichment.
      - `id` string
      - `type` string — A string that determines the schema of the object.
      - `self` string, url — The API show URL at which the object is accessible.
    - `updated_at` string, date-time — The date/time the Event Enrichment was last updated.
    - `updated_by` object, nullable — Reference to the user that last updated the Event Enrichment.
      - `id` string
      - `type` string — A string that determines the schema of the object.
      - `self` string, url — The API show URL at which the object is accessible.
    - `self` string, url — The API show URL at which the object is accessible.

## Response `200`

The updated Event Enrichment object.

- object
  - `event_enrichment` EventEnrichment
    - `id` string — ID of the Event Enrichment.
    - `name` string — The name of the Event Enrichment.
    - `description` string, nullable — A description of this Event Enrichment's purpose.
    - `is_default` boolean — Indicates whether this Event Enrichment is the account default.
    - `associated_services` integer — The number of Services associated with this Event Enrichment.
    - `associated_event_orchestrations` integer — The number of Event Orchestrations associated with this Event Enrichment.
    - `team` object, nullable — Reference to the team that owns this Event Enrichment.
      - `id` string — The ID of the team.
      - `type` string — A string that determines the schema of the object.
      - `self` string, url — The API show URL at which the object is accessible.
    - `privileges` object, nullable — Details about the read/update permissions of the current user for this Event Enrichment. Only present when `include[]=privileges` is requested.
      - `permissions` string[] — The list of permissions the current user has for this Event Enrichment.
    - `created_at` string, date-time — The date/time the Event Enrichment was created.
    - `created_by` object, nullable — Reference to the user that created the Event Enrichment.
      - `id` string
      - `type` string — A string that determines the schema of the object.
      - `self` string, url — The API show URL at which the object is accessible.
    - `updated_at` string, date-time — The date/time the Event Enrichment was last updated.
    - `updated_by` object, nullable — Reference to the user that last updated the Event Enrichment.
      - `id` string
      - `type` string — A string that determines the schema of the object.
      - `self` string, url — The API show URL at which the object is accessible.
    - `self` string, url — The API show URL at which the object is accessible.

## Other responses

- `400` — Caller provided invalid arguments. Please review the response for error details. Retrying with the same arguments will *not* work.
- `401` — Caller did not supply credentials or did not provide the correct credentials. If you are using an API key, it may be invalid or your Authorization header may be malformed.
- `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.
- `429` — Too many requests have been made, the rate limit has been reached.
- `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/revisions/b679a8f3f02c/schema)
