---
title: "PUT /configurations/event-hub"
method: PUT
path: "/configurations/event-hub"
tags: ["VideoTranslation"]
---

# PUT /configurations/event-hub

`PUT /configurations/event-hub`

Create or replace EventHub configuration.

## Query parameters

- `api-version` string, required

## Request body

- EventHubConfiguration — EventHub configuration.
  - `isEnabled` boolean, required — Indicate whether to enable sending event to EventHub.
  - `eventHubNamespaceHostName` string, required — EventHub namespace host name, for example: [YourNamespace].servicebus.windows.net
  - `eventHubName` string, required — EventHub name.
  - `managedIdentityClientId` string — Guid, for example: 8e2da02e-f9b3-4a1c-941f-8da60f16c2e5
  - `enabledEvents` EventHubVideoTranslationEventKind[], required — Enabled event kinds for notification.

## Response `200`

The request has succeeded.

- EventHubConfiguration — EventHub configuration.
  - `isEnabled` boolean, required — Indicate whether to enable sending event to EventHub.
  - `eventHubNamespaceHostName` string, required — EventHub namespace host name, for example: [YourNamespace].servicebus.windows.net
  - `eventHubName` string, required — EventHub name.
  - `managedIdentityClientId` string — Guid, for example: 8e2da02e-f9b3-4a1c-941f-8da60f16c2e5
  - `enabledEvents` EventHubVideoTranslationEventKind[], required — Enabled event kinds for notification.

## Other responses

- `default` — An unexpected error response.

---

[API](https://skmtc.net/azure/apis/cognitiveservices-speech-videotranslation.md) · [All operations](https://skmtc.net/azure/apis/cognitiveservices-speech-videotranslation/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/azure/cognitiveservices-speech-videotranslation/revisions/2e781a63dbdc/schema)
