---
title: "Disconnect Snapshot"
method: POST
path: "/api/py/integrations/{provider}/disconnect/snapshot"
---

# Disconnect Snapshot

`POST /api/py/integrations/{provider}/disconnect/snapshot`

## Request

- Base URL: `https://api.getauctor.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.getauctor.com/api/py/integrations/{provider}/disconnect/snapshot`
- Auth: none declared

## Path parameters

- `provider` string, required

## Request body

- DisconnectSnapshotBody
  - `principal_type` 'user' | 'org', required: Who owns a credential; extensible (AUC-5797 §2).
  - `principal_id` string, required
  - `external_key` string

## Response `200`

Successful Response

- DisconnectSnapshotResponse
  - `grant_id` string, required
  - `grant_version` string, date-time, required
  - `state` 'pending' | 'active' | 'needs_reauth' | 'revoked', required
  - `has_credential` boolean, required
  - `credentials` DisconnectCredentialSnapshot, required
    - `access_token` string, nullable, required
    - `refresh_token` string, nullable, required
    - `expires_in` integer, nullable, required
    - `refreshed_at` string, date-time, nullable, required
    - `metadata` object, required
  - `revoke_outcome` DisconnectRevokeOutcome, required
    - `revoked` boolean, required
    - `failure` 'provider_error' | 'network_error' | 'missing_credentials', nullable
  - `operation_id` string, nullable, required

## Other responses

- `422`: Validation Error

## Changes

- **2026-09-23** `44f84cc4c525`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/getauctor/apis/getauctor-api/changes/api/py/integrations/:provider/disconnect/snapshot/post.md)

---

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