---
title: "Update API key metadata"
method: PUT
path: "/api-keys/{id}"
tags: ["API Keys"]
---

# Update API key metadata

`PUT /api-keys/{id}`

## Request

- Base URL: `https://us-central1-paymentgateway-ab783.cloudfunctions.net/api`
- URL: `https://us-central1-paymentgateway-ab783.cloudfunctions.net/api/api-keys/{id}`
- Auth: HTTP bearer

Update mutable fields (such as the display name) for an API key.

## Path parameters

- `id` string, required

## Request body

- object
  - `name` string

## Response `200`

API key updated

## Other responses

- `401`: Missing or invalid authentication token
- `404`: API key not found
- `500`: Failed to update API key

---

[API](https://skmtc.dev/futuresenseai/apis/futuresense-ai-central-hub-api.md) · [All operations](https://skmtc.dev/futuresenseai/apis/futuresense-ai-central-hub-api/llms.txt) · [OpenAPI document](https://skmtc.dev/futuresenseai/apis/futuresense-ai-central-hub-api/revisions/53e075911af9?raw)
