---
title: "Update Api Key"
method: PUT
path: "/api_keys/{id}"
tags: ["Api Keys"]
---

# Update Api Key

`PUT /api_keys/{id}`

Update an existing api key

## Path parameters

- `id` string, required

## Headers

- `Accept-Language` 'es' | 'en'

## Request body

- ApiKeyUpdateRequest
  - `active` boolean — Indicates if the webhook key is active
  - `description` string — A name or brief explanation of what this api key is used for

## Response `200`

successful operation

## Other responses

- `401` — authentication error
- `404` — not found entity
- `500` — internal server error

---

[API](https://skmtc.net/conekta/apis/conekta-api.md) · [All operations](https://skmtc.net/conekta/apis/conekta-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/conekta/conekta-api/revisions/029df3052bca/schema)
