import { Turnkey } from "@turnkey/sdk-server";const turnkeyClient = new Turnkey({ apiBaseUrl: "https://api.turnkey.com", apiPublicKey: process.env.API_PUBLIC_KEY!, apiPrivateKey: process.env.API_PRIVATE_KEY!, defaultOrganizationId: process.env.ORGANIZATION_ID!,});const response = await turnkeyClient.apiClient().updateUserPhoneNumber({ userId: "<string> (Unique identifier for a given User.)", userPhoneNumber: "<string> (The user's phone number in E.164 format e.g. +13214567890. Setting this to an empty string will remove the user's phone number.)", verificationToken: "<string> (Signed JWT containing a unique id, expiry, verification type, contact)"});
import { Turnkey } from "@turnkey/sdk-server";const turnkeyClient = new Turnkey({ apiBaseUrl: "https://api.turnkey.com", apiPublicKey: process.env.API_PUBLIC_KEY!, apiPrivateKey: process.env.API_PRIVATE_KEY!, defaultOrganizationId: process.env.ORGANIZATION_ID!,});const response = await turnkeyClient.apiClient().updateUserPhoneNumber({ userId: "<string> (Unique identifier for a given User.)", userPhoneNumber: "<string> (The user's phone number in E.164 format e.g. +13214567890. Setting this to an empty string will remove the user's phone number.)", verificationToken: "<string> (Signed JWT containing a unique id, expiry, verification type, contact)"});