---
title: "RevokeByHash"
slug: "revokebyhash"
abstract: "How to revoke an API key with a specific hash."
---
# RevokeByHash

The *RevokeByHash* endpoint revokes an API key that is identified by its hash.

| Relative Route | `/revokebyhash/<hash>` |
| --- | --- |
| HTTP Verb | `PUT` |

## Request body

The request body must contain the following fields:

| Name | Description |
| --- | --- |
| `hash` (string) | The hash of the key to revoke. |

## Response body

The response is a boolean value indicating whether the key was revoked successfully.