pressable_reset_sftp_user_password
Reset the password for a specific SFTP user on a WordPress site to restore access or enhance security.
Instructions
Reset the password for a specific SFTP user.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site_id | Yes | ||
| username | Yes |
Implementation Reference
- tools/server.js:54-56 (handler)The handler function that executes the POST request to reset the SFTP user password.
handler: async (args) => { return await api.post(`/sites/${args.site_id}/sftp-users/${args.username}/reset-password`); } - tools/server.js:44-53 (registration)The registration and input schema definition for the pressable_reset_sftp_user_password tool.
name: 'pressable_reset_sftp_user_password', description: 'Reset the password for a specific SFTP user.', inputSchema: { type: 'object', properties: { site_id: { type: 'string' }, username: { type: 'string' } }, required: ['site_id', 'username'] },