---
title: "Move the account to a new address, proved by a code mailed to it."
method: POST
path: "/v1/account/email"
tags: ["account"]
---

# Move the account to a new address, proved by a code mailed to it.

`POST /v1/account/email`

## Request

- Base URL: `https://api.japanfold.aiand.com`
- URL: `https://api.japanfold.aiand.com/v1/account/email`
- Auth: one of:
  - none
  - HTTP bearer

Ask for the code with POST /v1/auth/start on the new address, then send it here. Needs a signed-in session.

## Request body

- object
  - `code` string, required
  - `email` string, required

## Response `200`

Account

## Other responses

- `400`: Invalid request
- `401`: Unauthorized

---

[API](https://skmtc.dev/aiand/apis/japanfold-api.md) · [All operations](https://skmtc.dev/aiand/apis/japanfold-api/llms.txt) · [OpenAPI document](https://skmtc.dev/aiand/apis/japanfold-api/revisions/9f4be813b447?raw)
