---
title: "Update Notification Endpoint"
method: PATCH
path: "/notifications/endpoints/{endpointId}"
tags: ["Notifications"]
---

# Update Notification Endpoint

`PATCH /notifications/endpoints/{endpointId}`

## Path parameters

- `endpointId` string, required

## Request body

- NotificationsApiUpdateNotificationEndpointRequestBody
  - `name` string, required
  - `value` string, required
  - `type` 'Slack' | 'Teams' | 'Email' | 'Webhook', required
  - `webhookSecret` string, nullable

## Response `200`

- NotificationsApiUpdateNotificationEndpointResponse
  - `webhookSecretEncrypted` string
  - `id` string
  - `createdBy` string
  - `createdByUser` User
    - `email` string
    - `user_id` string
    - `created_at` string
    - `updated_at` string
    - `app_metadata` AppMetadata
      - `organizations` UserOrganization[]
        - `id` string, required
        - `role` string
        - `name` string
      - `isApiKey` boolean
      - `isAutogeneratedTerraformDeployer` boolean
      - `apiKeyType` 'oidc'
      - `createdBy` string
      - `organizationId` string
      - `isSystemUser` boolean
      - `readOnly` boolean
    - `picture` string
    - `name` string
    - `last_login` string
    - `given_name` string
    - `family_name` string
    - `blocked` boolean
  - `organizationId` string
  - `name` string
  - `type` 'Slack' | 'Teams' | 'Email' | 'Webhook'
  - `value` string — URL for Slack, Teams or Webhooks endpoint. Coma separated list of email addresses for email endpoint, you can use `$ENVIRONMENT_CREATOR$`, and `$DEPLOYER$` to resolve emails dynamically.

---

[API](https://skmtc.dev/envzero/apis/env0-api.md) · [All operations](https://skmtc.dev/envzero/apis/env0-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/envzero/env0-api/revisions/513441cbe9dc/schema)
