According to Google:
Verifying subdomains and subdirectories
You can create separate Search Console properties for different subdomains or subdirectories; in fact, we often recommend it, to be able to segment your data into useful groups.
If you are verified for a site, you are automatically verified for all subdirectories under that site. If you are verified for a domain, you are automatically verified for all subdomains of that domain, as well as all sites and subsites.
Here are our definitions of domain and site. These definitions are specific to Search Console verification:
https://example.com/ – A site (because it includes the https:// prefix)
example.com/ – A domain (because it doesn’t include a protocol prefix)
puppies.example.com/ – A subdomain of example.com
https://example.com/petstore/ – A subdirectory of https://example.com site
If you delete the property for a parent domain or directory, you will still be verified for all child domains or directories.