---
title: "Rotate the API key (session-only)"
method: POST
path: "/api/v1/visa/auth/regenerate-key"
tags: ["Account & billing"]
---

# Rotate the API key (session-only)

`POST /api/v1/visa/auth/regenerate-key`

## Response `200`

Key rotated.

- object
  - `api_key` string
  - `message` string

## Other responses

- `400` — Missing or malformed parameter.
- `401` — Missing API key, query param or session cookie.
- `404` — No data for the requested resource.

---

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