---
title: "POST /v1/new-api-key"
method: POST
path: "/v1/new-api-key"
tags: ["Change API Key"]
---

# POST /v1/new-api-key

`POST /v1/new-api-key`

API to support periodic or adhoc retrieval of a new API Key. If successful the old API Key will no longer be valid

## Headers

- `x-api-key` string, required
- `Authorization` string, required

## Response `200`

Success

- ChangeApiKeyResponse
  - `newApiKey` string

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `500` — Unable to fetch new API Key, existing API Key remains valid

---

[API](https://skmtc.dev/driver-and-vehicle-licensing-age/apis/authentication-api.md) · [All operations](https://skmtc.dev/driver-and-vehicle-licensing-age/apis/authentication-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/driver-and-vehicle-licensing-age/authentication-api/revisions/4bcce9b87c67/schema)
