---
title: "UpdateSiteProtectedDirRequest"
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.hostedez.com/llms.txt
> Use this file to discover all available pages before exploring further.

Path: Hosted EZ REST API

## Fields

- `UpdateSiteProtectedDirRequest.enabled` (boolean, optional)
- `UpdateSiteProtectedDirRequest.password` (string, optional) — Optional new password to rotate; omit to preserve the existing password.
  - minLength 8; maxLength 72
- `UpdateSiteProtectedDirRequest.path` (string, optional)
  - minLength 1; maxLength 512
- `UpdateSiteProtectedDirRequest.realm` (string, optional)
  - minLength 1; maxLength 64
- `UpdateSiteProtectedDirRequest.username` (string, optional)
  - pattern `^[A-Za-z0-9._-]{1,64}$`


Source: https://docs.hostedez.com/api/schemas/UpdateSiteProtectedDirRequest/index.md
