---
title: "POST /event-forwarder-update-slack"
method: POST
path: "/event-forwarder-update-slack"
tags: ["Event Forwarders"]
---

# POST /event-forwarder-update-slack

`POST /event-forwarder-update-slack`

## Request

- Base URL: `https://api.akeyless.io`
- URL: `https://api.akeyless.io/event-forwarder-update-slack`
- Auth: none declared

## Request body

- EventForwarderUpdateSlack: eventForwarderUpdateSlack is a command that updates slack 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, access-request-expired, access-request-approved, access-request-denied, 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, locked-user, unlocked-user, password-reset]
  - `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: Slack Webhook URL

## Response `201`

eventForwarderUpdateSlackResponse 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.dev/akeyless/apis/operations-integrations.md) - [All operations](https://skmtc.dev/akeyless/apis/operations-integrations/llms.txt) - [OpenAPI document](https://skmtc.dev/akeyless/apis/operations-integrations/revisions/2ae61e73aa1d?raw)
