# blockUnsubscribe

Unsubscribe from block notifications.

This method will use `20` [Compute Units](https://docs.validationcloud.io/v1/about/billing).

***

## **Parameters**

`subscriptionID` integer *<mark style="color:red;">Required</mark>*. The subscription id to cancel, ensuring it matches the previously generated subscription ID from the 'blockSubscribe' method.

## Returns

`result` boolean. The result will be a boolean value with unsubscribed success message.

```bash
// Result
{ "jsonrpc": "2.0", "result": true, "id": 1 }
```

{% tabs %}
{% tab title="mainnet" %}

<pre class="language-bash"><code class="lang-bash"><strong>wscat -c wss://mainnet.solana.validationcloud.io/v1/&#x3C;YOUR_API_KEY_HERE>
</strong># wait for connection
{"id":1,"jsonrpc":"2.0","method":"blockUnsubscribe","params":[SUBSCRIPTION_ID]}

    
</code></pre>

{% endtab %}

{% tab title="devnet" %}

```bash
wscat -c wss://devnet.solana.validationcloud.io/v1/<YOUR_API_KEY_HERE>
# wait for connection
{"id":1,"jsonrpc":"2.0","method":"blockUnsubscribe","params":[SUBSCRIPTION_ID]}

    
```

{% endtab %}
{% endtabs %}
