> ## Documentation Index
> Fetch the complete documentation index at: https://docs.hologram.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Enable and disable device tunneling keys using the REST API

> Manage Spacebridge tunneling keys with enable/disable API calls.

Hologram issues each user up to 5 tunneling keys. Keys are associated with clients (computers), not SIMs/devices.

## List keys

```http theme={null}
GET https://dashboard.hologram.io/api/1/tunnelkeys?withdisabled=0&userid=[YOUR_USER_ID]
```

Example response:

```json theme={null}
{
  "success": true,
  "data": [
    { "id": 12345, "userid": 0, "disabled": 0, "public_key": "YOUR_PUBLIC_KEY" }
  ]
}
```

## Enable a key

```http theme={null}
POST https://dashboard.hologram.io/api/1/tunnelkeys/YOUR_SPACEBRIDGE_KEY_ID/enable
```

## Disable a key

```http theme={null}
POST https://dashboard.hologram.io/api/1/tunnelkeys/YOUR_SPACEBRIDGE_KEY_ID/disable
```

## Related actions

<Card title="Add tunneling keys via API" href="/guides/communication/add-device-tunneling-keys-using-the-rest-api" horizontal />

<Card title="View tunneling keys via API" href="/guides/communication/view-device-tunneling-keys-using-the-rest-api" horizontal />
