---
title: "Deactivate Rate"
method: PATCH
path: "/v1/rates/{id}/deactivate"
tags: ["Liquidity Pool"]
---

# Deactivate Rate

`PATCH /v1/rates/{id}/deactivate`

Deactivates an existing rate for a specific asset pair.

Use this endpoint to deactivate a previously-created rate. Deactivation is applied to the rate identified by `id`.

---

## Endpoint

`PATCH https://api.blockradar.co/v1/rates/:id/deactivate`

---

## Path Parameters

| Key | Required | Type | Description |
| --- | --- | --- | --- |
| id | true | string | The unique identifier of the rate to deactivate. |

---

## Body Parameters

Provide the fields required to authorize deactivation.

| Key | Required | Type | Description |
| --- | --- | --- | --- |
| reason | true | string | The reason for deactivating the rate. |

## Request body

- object
  - `reason` string

## Response `200`

200

- object
  - `data` object
    - `deactivatedAt` string
    - `deactivatedBy` string
    - `deactivationReason` string
    - `fromAsset` string
    - `id` string
    - `isActive` boolean
    - `maxAmount` string, nullable
    - `minAmount` string
    - `network` string
    - `rate` string
    - `status` string
    - `toAsset` string
    - `version` number
  - `message` string
  - `statusCode` number

---

[API](https://skmtc.net/blockradar/apis/blockradar-documentation.md) · [All operations](https://skmtc.net/blockradar/apis/blockradar-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/blockradar/blockradar-documentation/revisions/97f95b4cfc0d/schema)
