---
title: "Rotate personal-agent key"
method: POST
path: "/v1/account/agents/{agent_id}/rotate-key"
tags: ["Customer Account"]
---

# Rotate personal-agent key

`POST /v1/account/agents/{agent_id}/rotate-key`

## Request

- Base URL: `https://loppee.com`
- URL: `https://loppee.com/v1/account/agents/{agent_id}/rotate-key`
- Auth: HTTP bearer

Rotate personal-agent key. The response is scoped and validated by the runtime repository; unknown or unauthorized resources use the canonical error envelope.

## Path parameters

- `agent_id` string, required

## Response `200`

Rotate personal-agent key response

- object: Rotated personal-agent key; raw key is returned once.

## Other responses

- `400`: ErrorResponse
- `401`: ErrorResponse
- `403`: ErrorResponse
- `404`: ErrorResponse
- `409`: ErrorResponse
- `429`: RateLimitError
- `default`: ErrorResponse

---

[API](https://skmtc.dev/loppee/apis/loppee-business-registry-api-for-external-agents.md) · [All operations](https://skmtc.dev/loppee/apis/loppee-business-registry-api-for-external-agents/llms.txt) · [OpenAPI document](https://skmtc.dev/loppee/apis/loppee-business-registry-api-for-external-agents/revisions/37285f7cddcd?raw)
