sfdx force:package:uninstall

Uninstall a second-generation package from the target org


--jsonFormat output as json
--loglevel <loglevel>Logging level for this command invocation
-u, --targetusername <targetusername>Username or alias for the target org; overrides default target org
--apiversion <apiversion>Override the api version used for api requests made by this command
-w, --wait <wait>Number of minutes to wait for uninstall status
-p, --package <package>ID (starts with 04t) or alias of the package version to uninstall