---
title: "Update a test environment notification"
method: PATCH
path: "/test-environments/{id}/notifications/{notificationId}"
tags: ["Test Environment Notifications"]
---

# Update a test environment notification

`PATCH /test-environments/{id}/notifications/{notificationId}`

Use this operation to update an existing notification 
for a specific Test Environment. It handles HTTP PATCH 
requests to the /test-environments/{id}/notifications/{notificationId} 
endpoint, accepting a TestEnvironmentNotificationRequest 
object in the request body. Upon successful update, it 
returns a TestEnvironmentNotificationResponse object.

### User Access Permission

You must be assigned the **Refresh Central Sandbox** permission to run this operation.

## Path parameters

- `id` string, required
- `notificationId` string, required

## Headers

- `Zuora-Entity-Ids` string
- `Zuora-Track-Id` string
- `Accept-Encoding` string
- `Content-Encoding` string

## Request body

- TestEnvironmentNotificationRequest — Request to create a notification record for the test environment
  - `address` string — The email address to receive notifications for the Test Environment when a refresh job has been completed or cancelled
  - `name` string — The name of the recipient who will receive notifications for the Test Environment

## Response `200`

Successfully updated a Test Environment notification

- TestEnvironmentNotificationResponse — The notification response for a Test Environment
  - `address` string — The email address to receive notifications for the Test Environment when a refresh job has been completed or cancelled
  - `id` string — The unique id (UUID) of the Test Environment notification
  - `name` string — The name of the recipient who will receive notifications for the Test Environment
  - `testEnvironmentId` string — The unique id (UUID) of the Test Environment

## Other responses

- `400` — Bad request
- `500` — Internal Error

---

[API](https://skmtc.dev/zuora/apis/api-reference.md) · [All operations](https://skmtc.dev/zuora/apis/api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/zuora/api-reference/revisions/702f3caf3985/schema)
