# urbestack-protected-user-del

First published 4 Nov 2026 (release 0.2.24) · Unchanged since publication

UrbeStack release 0.2.35 command, run as root in the server shell.

## Usage

```
urbestack-protected-user-del --user CUSTOMER --path /web/example.com/public_html/private --name NAME
```

## Description

Removes the user named by --name from a protected folder and reloads Apache. If you remove the last folder user, Apache still prompts for credentials and denies access.

## Same in the API

- [DELETE /protected-folders/{id}/users/{username}](https://urbestack.com/docs/api/delete-protected-folders-id-users-username.md): Remove a user from a protected folder

## Command family: protected

- [urbestack-protected-folder-add](https://urbestack.com/docs/commands/urbestack-protected-folder-add.md): Protects a customer's folder with HTTP Basic authentication.
- [urbestack-protected-folder-del](https://urbestack.com/docs/commands/urbestack-protected-folder-del.md): Removes HTTP Basic authentication from a protected folder and deletes its folder users.
- [urbestack-protected-folder-set](https://urbestack.com/docs/commands/urbestack-protected-folder-set.md): Changes whether Apache lists a protected folder's files for signed-in visitors when there is no index page.
- [urbestack-protected-list](https://urbestack.com/docs/commands/urbestack-protected-list.md): Lists password-protected folders for a customer or reseller.
- [urbestack-protected-user-add](https://urbestack.com/docs/commands/urbestack-protected-user-add.md): Adds a user to a customer's password-protected folder.
- [urbestack-protected-user-set](https://urbestack.com/docs/commands/urbestack-protected-user-set.md): Changes the password, username, enabled status, or access end time of a user in a protected folder.
