Users
Cancel a pending email change (abort link)
Public endpoint. No authentication required. Called automatically when the account owner clicks the cancel link in the notice email sent to their current address after a change request was submitted. The link embeds a single-use token that expires 25 hours after the original request. The response is always a plain message and never reveals account-specific details. If the token is invalid, expired, or already used, a generic response is returned without confirming account existence.
/api/users/email-change/cancelSDK setup
Create a client instance. No authentication is required for this endpoint.
import { Configuration, UsersApi } from 'mudbase-sdk';
const configuration = new Configuration({
basePath: 'https://cloud.mudbase.dev',
});
const users = new UsersApi(configuration);Example request
Call this endpoint using the client from SDK setup. Use View HTTP for a raw cURL example.
const { data: result } = await users.cancelEmailChange();Playground
liveTest this endpoint with your own credentials. Your requests will be sent to the live API.
No Request Yet
Send a request to see the full inspector
Authentication
Query Parameters
| Name | Type | Required | Description |
|---|---|---|---|
token | string | Yes | The single-use cancel token embedded in the notice email link. |
Responses
{
"message": "Stylish Keyboard designed to make you stand out with lively looks"
}{
"error": "program back up"
}Errors
| Code | Meaning |
|---|---|
400 | Token query parameter missing from the request. |