Skip to content

Request e-mail change​

POST
/api/user/change_email

Request to change the e-mail of the current user. A confirmation link is sent to the new address, the e-mail is changed only when the link is confirmed (see /api/user/change_email_confirm).

Authorizations​

bearerAuth

Bearer token using a JWT

Type
HTTP (Bearer)

Request Body​

application/json
JSON
{
  
"email": "new@gancio.org",
  
"password": "MY_PASSWORD"
}

Responses​

A confirmation email has been enqueued to the new address.

Playground​

Authorization
Body

Samples​

Powered by VitePress OpenAPI