DELETE
/
v1
/
user
import { Vercel } from "@vercel/sdk";

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

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

  // Handle the result
  console.log(result);
}

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

Authorizations

Authorization
string
header
required

Default authentication mechanism

Body

application/json

Response

202
application/json

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

The response is of type object.