Skip to main content
Docs

Rejects a waitlist entry by ID. Returns a WaitlistEntry representing the rejected entry.

function reject(id: string): Promise<WaitlistEntry>
  • Name
    id
    Type
    string
    Description

    The ID of the waitlist entry to reject.

Note

Using clerkClient varies based on the SDK you're using. Refer to the overview for usage details, including guidance on how to access the userId and other properties.

const waitlistId = 'waitlist_123'

const response = await clerkClient.waitlistEntries.reject(waitlistId)

Backend API (BAPI) endpoint

This method in the SDK is a wrapper around the BAPI endpoint POST/waitlist_entries/{waitlist_entry_id}/reject. See the BAPI reference for more information.

Feedback

What did you think of this content?

Last updated on