---
title: "Regenerate API Key"
method: PATCH
path: "/workspace/api-key"
tags: ["workspace"]
---

# Regenerate API Key

`PATCH /workspace/api-key`

Regenerates a new API key for the current workspace.

## Headers

- `X-API-KEY` string, required

## Response `200`

Successful Response: New API key generated.

- object
  - `new_api_key` string

## Other responses

- `401` — Unauthorized - Invalid or missing API key.
- `500` — Internal Server Error - Something went wrong on our end.

---

[API](https://skmtc.dev/ringg/apis/ringg-ai-api-documentation.md) · [All operations](https://skmtc.dev/ringg/apis/ringg-ai-api-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/ringg/ringg-ai-api-documentation/revisions/00b614a7714c/schema)
