Skip to main content
DELETE
/
v1
/
user
requestDelete
import { Vercel } from "@vercel/sdk";

const vercel = new Vercel({
  bearerToken: "<YOUR_BEARER_TOKEN_HERE>",
});

async function run() {
  const result = await vercel.user.requestDelete({});

  console.log(result);
}

run();
{
  "id": "<string>",
  "email": "<string>",
  "message": "Verification email sent"
}

Authorizations

Authorization
string
header
required

Default authentication mechanism

Body

application/json
reasons
object[]

Optional array of objects that describe the reason why the User account is being deleted.

Response

Response indicating that the User deletion process has been initiated, and a confirmation email has been sent.

id
string
required

Unique identifier of the User who has initiated deletion.

email
string
required

Email address of the User who has initiated deletion.

message
string
required

User deletion progress status.

Example:

"Verification email sent"

I