---
id: gk-foundation-connection-disconnected
title: "Action - gk/foundation/connection/disconnected"
sidebar_label: "gk/foundation/connection/disconnected"
tags:
  - "1.26.0"
---

# Action: gk/foundation/connection/disconnected

Fires on an explicit disconnect, before local state is wiped.

Fires even for a decrypt-failed connection: its domain data is equally dead. Consumers drop whatever they tied to this scope's connection.

## Parameters

| Name | Type | Description |
|------|------|-------------|
| $context | `array` |  |
| ↳ $scope | `string` | Connection scope: 'network' or 'site'. |
| ↳ $revoked_remotely | `bool` | Whether the server verifiably revoked the connection. |

### Since

- 1.26.0

### Source

Defined in `AccountConnection/ConnectClient.php` at line 482

