This shortcode allows you to delete a staging environment SFTP user created on a site installed on your server.
To run Nodalio shortcodes on your server, please follow this guide.
Shortcode usage format:
- sudo nodalio sftpuserdelete-staging domain.com domain.com-username_staging
Shortcode reference:
- domain.com – your site’s primary domain/subdomain.
- domain.com-username – the full staging environment SFTP username, for example:
- example.com-john_staging
- test.example.com-chris_staging
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.