Docs

You are viewing an archived version of the docs.Go to latest version

deleteUser()

Deletes a user given a valid ID. Throws an error otherwise.

const userId = 'my-user-id';

const user = await clerkClient.users.deleteUser(userId);
  • Name
    userId
    Type
    string
    Description

    The ID of the user to delete.

Feedback

What did you think of this content?

Last updated on