---
title: "Issue a new key and revoke the old one immediately"
method: POST
path: "/api/agent/me/rotate"
---

# Issue a new key and revoke the old one immediately

`POST /api/agent/me/rotate`

## Request

- Base URL: `https://itsnum.com`
- URL: `https://itsnum.com/api/agent/me/rotate`
- Auth: HTTP bearer

## Response `200`

New key, shown once.

- object

---

[API](https://skmtc.dev/itsnum/apis/num-agent-api.md) · [All operations](https://skmtc.dev/itsnum/apis/num-agent-api/llms.txt) · [OpenAPI document](https://skmtc.dev/itsnum/apis/num-agent-api/revisions/cccc8bfd7446?raw)
