This shortcode allows you to delete a staging environment SFTP user created on a site installed on your server.
Shortcode usage format:
- sudo nodalio sftpuserdelete-staging domain.com domain.com-username_staging
- domain.com – your site’s primary domain/subdomain.
- domain.com-username – the full staging environment SFTP username, for example:
To delete an SFTP user from the live environment you may use the sftpuserdelete shortcode.
Important: This shortcode will attempt to add the ‘_staging’ suffix if it was not supplied.