---
title: "Disables a validation key"
method: PATCH
path: "/key_link/validation_keys/{keyId}"
tags: ["Key Link"]
deprecated: true
---

# Disables a validation key

`PATCH /key_link/validation_keys/{keyId}`

## Request

- Base URL: `https://api.fireblocks.io/v1`
- URL: `https://api.fireblocks.io/v1/key_link/validation_keys/{keyId}`
- Auth: none declared
- TypeScript: <https://skmtc.dev/fireblocks/apis/fireblocks-api/docs/key_link/validation_keys/:keyId/patch.ts> (a function with typed inputs; its response is checked against the schema)

> **Deprecated.**

DEPRECATED - Please use `POST /key_link/validation_keys/{keyId}/revoke` instead.
Allows disabling validation key even if it has not expired yet. It is not allowed to enable the validation key back. Another key has to be used for future validations.

## Path parameters

- `keyId` string, required

## Request body

- ModifyValidationKeyDto
  - `enabled` boolean, required: Disable validation key

## Response `200`

Modified validation key data

- ValidationKeyDto
  - `keyId` string, required: External validation key id set by Fireblocks.
  - `publicKeyPem` string, required: PEM encoded public key used for the validation.
  - `daysTillExpired` number, required
  - `enabled` boolean, required: True if the validation key is enabled.
  - `createdAt` number, required: Creation date (timestamp) in milliseconds.
  - `expirationTime` number, required: Expiration date (Unix timestamp) in milliseconds.
  - `revoked` boolean, required: True if the validation key is revoked.

## Other responses

- `default`: Error Response

---

[API](https://skmtc.dev/fireblocks/apis/fireblocks-api.md) - [All operations](https://skmtc.dev/fireblocks/apis/fireblocks-api/llms.txt) - [OpenAPI document](https://skmtc.dev/fireblocks/apis/fireblocks-api/revisions/4eba9965659a?raw)
