API operation · files group
DELETE
/ftp/accounts/{name}
First published 3 Oct 2026
0.1.0Unchanged since publicationDelete an FTP account
Who may call it
AdministratorResellerCustomer
Token scope, any of
filesallAnswers200 OK
UrbeStack removes the login from ProFTPD immediately and retains the account's directory and files. The API returns 400 if the login format is invalid and 404 if the account does not exist.
As a command
Run as root on the serverParameters
namepath ·FtpAccountNameRequiredFTP login in the form <name>@<domain>, with @ encoded as %40.
Example
See the API overview for how to set $API and $TOKEN.Request
curl -sS -X DELETE "$API/ftp/accounts/alice" \ -H "Authorization: Bearer $TOKEN"
Response ·
200 OK{
"deleted": true,
"name": "alice"
}Errors
10 errors, each a status and a sentence400--<_> is required400An FTP account is named <name>@<domain>400Domain name required400Domain name too long400Invalid domain name400Invalid username: 2 to 32 lowercase letters, digits or underscores, starting with a letter400Username '<value>' is reserved401Authentication required404The FTP account <login> does not exist404User '<user>' not foundNo error of this operation matches.
Generated from release 0.2.35 (current) · the API’s own descriptionThis entry has been unchanged since it was first published in release 0.1.0 on 3 Oct 2026.
urbestack.com/docs/api/delete-ftp-accounts-name/