# Stop FTP session This function kills FTP sessions. When you disable the Role, the system this function. Endpoint: GET /Ftp/kill_session Version: 11.134.0.5 Security: BasicAuth ## Query parameters: - `login` (string) The username for the session's FTP account. To stop all FTP sessions for the cPanel account, set this parameter to the value. Example: "weeones" ## Response 200 fields (application/json): - `apiversion` (integer) The version of the API. Example: 3 - `func` (string) The name of the method called. Example: "kill_session" - `module` (string) The name of the module called. Example: "Ftp" - `result` (object) - `result.data` (object,null) - `result.errors` (array,null) List of errors if the API failed. - `result.messages` (array,null) List of messages generated by the API. - `result.metadata` (object) - `result.status` (integer) * - Success. * - Failed. Check the errors field for more details. Enum: 0, 1 - `result.warnings` (array,null) List of warnings generated by the API. Warnings describe non-critical failures or other problematic conditions noted while running a API.