---
title: "Disconnect"
method: DELETE
path: "/v1/integrations/microsoft/{connection_kind}"
tags: ["microsoft"]
---

# Disconnect

`DELETE /v1/integrations/microsoft/{connection_kind}`

## Request

- Base URL: `https://api.ender.au` (the document declares no server; this is the origin it was published from)
- URL: `https://api.ender.au/v1/integrations/microsoft/{connection_kind}`
- Auth: HTTP bearer

## Path parameters

- `connection_kind` 'sharepoint' | 'onedrive' | 'outlook', required

## Request body

- DisconnectRequest
  - `connection_id` string, uuid, required
  - `version` integer, required
  - `workspace_id` string, uuid, nullable

## Response `200`

Successful Response

- MicrosoftDisconnected
  - `status` 'disconnected', required
  - `dependent_source_count` integer, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/ender/apis/ender-backend.md) - [All operations](https://skmtc.dev/ender/apis/ender-backend/llms.txt) - [OpenAPI document](https://skmtc.dev/ender/apis/ender-backend/revisions/bf4373130521?raw)
