---
title: BluetoothRemoteGATTServer.disconnect()
slug: Web/API/BluetoothRemoteGATTServer/disconnect
tags:
  - API
  - Bluetooth
  - BluetoothRemoteGATTServer
  - Experimental
  - Method
  - Reference
  - Web Bluetooth API
  - disconnect()
browser-compat: api.BluetoothRemoteGATTServer.disconnect
---
{{SeeCompatTable}}

The **`BluetoothRemoteGATTServer.disconnect()`** method causes
the script execution environment to disconnect from `this.device`.

## Syntax

```js
BluetoothRemoteGATTServer.disconnect()
```

### Returns

None.

### Parameters

None.

## Specifications

{{Specifications}}

## Browser compatibility

{{Compat}}

{{APIRef("Web Bluetooth")}}
