---
title: "POST /event-forwarder-update-teams"
method: POST
path: "/event-forwarder-update-teams"
tags: ["v2"]
---

# POST /event-forwarder-update-teams

`POST /event-forwarder-update-teams`

## Request body

- EventForwarderUpdateTeams — eventForwarderUpdateTeams is a command that updates teams event forwarder
  - `auth-methods-event-source-locations` string[] — Auth Method Event sources
  - `description` string — Description of the object
  - `enable` string — Enable/Disable Event Forwarder [true/false]
  - `event-types` string[] — List of event types to notify about [request-access, certificate-pending-expiration, certificate-expired, certificate-provisioning-success, certificate-provisioning-failure, auth-method-pending-expiration, auth-method-expired, next-automatic-rotation, rotated-secret-success, rotated-secret-failure, dynamic-secret-failure, multi-auth-failure, uid-rotation-failure, apply-justification, email-auth-method-approved, usage, rotation-usage, gateway-inactive, static-secret-updated, rate-limiting, usage-report, secret-sync]
  - `gateways-event-source-locations` string[], required — Event sources
  - `items-event-source-locations` string[] — Items Event sources
  - `json` boolean — Set output format to JSON
  - `keep-prev-version` string — Whether to keep previous version [true/false]. If not set, use default according to account settings
  - `key` string — The name of a key that used to encrypt the EventForwarder secret value (if empty, the account default protectionKey key will be used)
  - `name` string, required — EventForwarder name
  - `new-name` string — New EventForwarder name
  - `targets-event-source-locations` string[] — Targets Event sources
  - `token` string — Authentication token (see `/auth` and `/configure`)
  - `uid-token` string — The universal identity token, Required only for universal_identity authentication
  - `url` string, required — Teams Webhook URL

## Response `201`

eventForwarderUpdateTeamsResponse wraps response body.

- EventForwarderCreateUpdateOutput
  - `event_forwarder_id` integer
  - `event_forwarder_name` string

## Other responses

- `default` — errorResponse wraps any error to return it as a JSON object with one "error" field.

---

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