---
title: "Rotate the agent's EVM signer key. Generates a new secp256k1 key, builds a swapOwner UserOp on the Safe, signs with the old key, submits to bundler, a"
method: POST
path: "/v1/agents/{agent_id}/rotate-signer-key"
tags: ["Agents"]
---

# Rotate the agent's EVM signer key. Generates a new secp256k1 key, builds a swapOwner UserOp on the Safe, signs with the old key, submits to bundler, a

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

## Request

- Base URL: `https://api.1claw.co`
- URL: `https://api.1claw.co/v1/agents/{agent_id}/rotate-signer-key`
- Auth: HTTP bearer

## Response `200`

Success

## Other responses

- `401`: Unauthenticated
- `403`: Forbidden, or the plan does not include this
- `404`: Not found

---

[API](https://skmtc.dev/1claw/apis/1claw-api.md) · [All operations](https://skmtc.dev/1claw/apis/1claw-api/llms.txt) · [OpenAPI document](https://skmtc.dev/1claw/apis/1claw-api/revisions/5fa0918f3b41?raw)
