# list_protected_directories

> List the password-protected directories on a domain — each with its path and prompt text.

- Tier: R
- Required scope: read:hosting
- Annotations: readOnlyHint, idempotentHint
- Docs: https://api.inleed.com/tools/list-protected-directories

## Description

List the password-protected directories on a domain — each with its path and prompt text. This is the authoritative answer for directory protection — do not walk the file tree looking for `.htaccess` files. Protect a directory with `set_directory_password`; the DELETE on the same REST route removes protection.

## Input schema

- `input` — string (required). A domain, email address, website URL, numeric service id, or hosting-account username the customer actually owns. Resolved to the owning account automatically; the resolved target is echoed back in the response.

## Example call

```json
{
  "name": "list_protected_directories",
  "arguments": {
    "input": "example.se"
  }
}
```

