delete

Bun

Symbol

URLSearchParams.delete

delete(name: string, value?: string): void

Deletes the given search parameter, and its associated value, from the list of all search parameters.

MDN Reference