# hypr/unsubscribe Remove an event subscription by name. The closure is unpinned; later events with that name are not delivered. ## Syntax
[hypr/unsubscribe $h "workspace"]
## Parameters - `$h` — connection from `hypr/connect` - `$name` — subscribed event name (string) Unsubscribing a name that was never subscribed is a no-op. ## Examples
[hypr/unsubscribe $h "workspace"]
## Returns `nil`, or `%Err{:message}` on a bad connection or non-string event name. ## See Also `hypr/subscribe`, `hypr/disconnect`