---
title: "Deactivate an API key"
method: POST
path: "/v1/keys/deactivate/"
tags: ["Key Management"]
---

# Deactivate an API key

`POST /v1/keys/deactivate/`

Deactivate the other API key in the current environment. This deactivates the key that is not being used to authenticate the request. This endpoint is not available by default. Contact us to enable it.

## Response `204`

API key deactivated successfully

## Other responses

- `400` — HTTP 400 Bad Request
- `401` — HTTP 401 Unauthorized
- `403` — HTTP 403 Forbidden

---

[API](https://skmtc.net/truv/apis/truv-api.md) · [All operations](https://skmtc.net/truv/apis/truv-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/truv/truv-api/versions/6542a8962887/schema)
