---
title: "updateSlackIntegration"
method: PUT
path: "/core/api/v1/public/slack-integration/{integrationId}"
tags: ["slack-app-integration-oauth-controller"]
---

# updateSlackIntegration

`PUT /core/api/v1/public/slack-integration/{integrationId}`

## Request

- Base URL: `https://api.freshlearn.com`
- URL: `https://api.freshlearn.com/core/api/v1/public/slack-integration/{integrationId}`
- Auth: none declared

## Path parameters

- `integrationId` integer, required

## Headers

- `Authorization` string
- `domain` string
- `api-key` string

## Request body

- SlackAppIntegrationOauthDTO
  - `accessToken` string
  - `active` boolean
  - `appId` string
  - `botUserId` string
  - `createdAt` integer
  - `createdBy` integer
  - `domainId` integer
  - `id` integer
  - `oauthPayload` object
  - `scope` string
  - `selectedChannelCount` integer
  - `selectedChannels` string[]
  - `status` boolean
  - `teamId` string
  - `teamName` string
  - `tokenType` string
  - `updatedAt` integer
  - `updatedBy` integer
  - `webhookUrl` string

## Response `200`

OK

## Other responses

- `201`: Created
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found

---

[API](https://skmtc.dev/freshlearn/apis/freshlearn-api.md) · [All operations](https://skmtc.dev/freshlearn/apis/freshlearn-api/llms.txt) · [OpenAPI document](https://skmtc.dev/freshlearn/apis/freshlearn-api/revisions/8a82ee14b586?raw)
