---
title: "Disconnect the Devin integration for the requesting user"
method: POST
path: "/integrations/devin/disconnect"
tags: ["integrations"]
---

# Disconnect the Devin integration for the requesting user

`POST /integrations/devin/disconnect`

Revokes the WorkOS OAuth grant the caller's token was issued under, immediately invalidating its refresh tokens. Access tokens that were already issued remain valid until they expire (up to 5 minutes). Idempotent: disconnecting an already-revoked grant succeeds. Only callable with an OAuth token issued to the Devin app.

**Rate limit:** 10 requests per minute

## Response `200`

- DisconnectDevinResponseBody
  - `data` DisconnectDevinData
    - `disconnected` boolean — Whether the caller's Devin OAuth grant is revoked.
  - `request_id` string — The request ID for tracking.

## Other responses

- `400` — The request was invalid or could not be completed.
- `403` — The authenticated caller or organization is not allowed to access this endpoint or operation.
- `500` — An unexpected internal error occurred.

---

[API](https://skmtc.dev/usepylon/apis/pylon-api.md) · [All operations](https://skmtc.dev/usepylon/apis/pylon-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/usepylon/pylon-api/revisions/3e347e631c35/schema)
