---
title: "Refresh Api Key"
method: POST
path: "/auth/refresh-key"
tags: ["Authentication"]
---

# Refresh Api Key

`POST /auth/refresh-key`

Invalidate existing API key and generate a new one

## Response `200`

Successful Response

- APIKeyResponse
  - `key` string, required
  - `expires_at` string, date-time, required

---

[API](https://skmtc.dev/deepshare/apis/markdown-to-docx-converter.md) · [All operations](https://skmtc.dev/deepshare/apis/markdown-to-docx-converter/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/deepshare/markdown-to-docx-converter/revisions/3c4ed7b0427a/schema)
