Delete FTP Account
Deletes an existing FTP account.
Once deleted, the account can no longer authenticate using:
- FTP
- FTPS
- SFTP
- SCP
Deleting an FTP account does not delete any files or directories stored in ftpGrid.
Only the account credentials and access configuration are removed.
Required Scope
ftpaccount.delete
Endpoint
DELETE /ftpaccounts/id/:id
Example Request
http DELETE https://api.ftpgrid.com/ftpaccounts/id/1234 \
Authorization:"Bearer YOUR_TOKEN"
Path Parameters
| Parameter | Type | Description |
|---|---|---|
id | integer | FTP account ID |
Example Response
{
"rslt": "OK"
}
Notes
- Deleting an FTP account immediately revokes all access
- Existing sessions may disconnect automatically depending on protocol and client behavior
- Files stored in ftpGrid are not deleted when removing an FTP account
- Deleted accounts cannot be restored