---
title: "Disconnect my drive"
method: DELETE
path: "/v1/workspaces/{workspaceId}/file-imports/connections/{provider}"
tags: ["File imports"]
---

# Disconnect my drive

`DELETE /v1/workspaces/{workspaceId}/file-imports/connections/{provider}`

## Request

- Base URL: `https://shareout.site`
- URL: `https://shareout.site/v1/workspaces/{workspaceId}/file-imports/connections/{provider}`
- Auth: HTTP bearer

Deletes my consent (and revokes it at Google). Every folder syncing through it stops: running imports end with `CONNECTION_REVOKED`, daily sync turns off. Imported files stay.

## Response `200`

Disconnected

## Other responses

- `404`: Resource not found

## Changes

- **2026-10-17** `a43d748cfdda`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/shareout/apis/shareout-rest-api/changes/v1/workspaces/:workspaceId/file-imports/connections/:provider/delete.md)

---

[API](https://skmtc.dev/shareout/apis/shareout-rest-api.md) - [All operations](https://skmtc.dev/shareout/apis/shareout-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/shareout/apis/shareout-rest-api/revisions/1e3f7fd34f6d?raw)
