# disableMarketData

{% hint style="info" %}
Market data remains visible if trading is enabled.
{% endhint %}

**POST api/disableMarketData**

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

```json
{'counterpartyId': 123}
```

{% endtab %}

{% tab title="200 OK" %}

```json
{}
```

{% endtab %}

{% tab title="400 Bad request" %}

```json
{
    "error": 2
}
```

{% endtab %}
{% endtabs %}

**Request parameters**

| Field name     | Type     | Description                                 |
| -------------- | -------- | ------------------------------------------- |
| counterpartyId | ClientId | Id of a counterparty to disbale market data |
