# urbestack-protected-folder-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-folder-del --user CUSTOMER --path /web/example.com/public_html/private
```

## Description

Removes HTTP Basic authentication from a protected folder and deletes its folder users. The folder and its files stay on disk. UrbeStack regenerates the sites' virtual host configurations and reloads Apache immediately.

## Same in the API

- [DELETE /protected-folders/{id}](https://urbestack.com/docs/api/delete-protected-folders-id.md): Remove HTTP Basic authentication 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-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-del](https://urbestack.com/docs/commands/urbestack-protected-user-del.md): Removes the user named by --name from a protected folder and reloads Apache.
- [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.
