---
title: "POST /api/rep/dashboard/integrations/remove"
method: POST
path: "/api/rep/dashboard/integrations/remove"
tags: ["Rep Dashboard"]
---

# POST /api/rep/dashboard/integrations/remove

`POST /api/rep/dashboard/integrations/remove`

## Request

- Base URL: `https://idkrx.com`
- URL: `https://idkrx.com/api/rep/dashboard/integrations/remove`
- Auth: API key in cookie `authjs.session-token`

Remove integration; SFTP can purge upstream when purgeRemote is true

## Request body

- object
  - `providerId` 'sftp' | 'pioneerrx' | 'email' | 'twilioivr' | 'libertyapi' | 'sqlodbc' | 'storagedrop' | 'edgeagent', required
  - `purgeRemote` boolean

## Response `200`

Integration removed

## Other responses

- `400`: Invalid request
- `401`: Unauthorized
- `403`: Admin/owner only

---

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