deleteUser: (
userId: string,
removeAllLinkedAccounts?: boolean,
userContext?: Record<string, any>,
) => Promise<{ status: "OK" }> = SuperTokensWrapper.deleteUser
Type declaration
- (
userId: string,
removeAllLinkedAccounts?: boolean,
userContext?: Record<string, any>,
): Promise<{ status: "OK" }> Parameters
- userId: string
- removeAllLinkedAccounts: boolean = true
Optional
userContext: Record<string, any>
Returns Promise<{ status: "OK" }>