Named type · one of 310 shapes of what is sent and answered
ProtectedFolder
First published 4 Nov 2026
0.2.24Unchanged since publicationUsed by 6 operations.
Fields
created_atstringexistsbooleanWhether the path still points to an actual directory on disk.
idintegerlist_filesbooleanWhether authenticated visitors see a file listing when the folder has no index page. Enabled by default when protection is added. Sites rooted at this folder use their own directory listing settings.
pathHomePathFolder path as shown on the Files page, where / represents the customer's home directory.
sitesarray of objectActive sites whose document roots are this folder or an ancestor of it, ordered from the nearest root first. Each entry includes the folder's URL on that site.
sites.domainDomainNameA domain name is case-insensitive and stored in lowercase.
sites.urlstringusersarray of ProtectedUserProtected users ordered by username. Password hashes are omitted.
Used by
6 operationsGET/protected-foldersList an account's password-protected foldersfilesPOST/protected-foldersProtect a folder with HTTP Basic authenticationfilesPATCH/protected-folders/{id}Change the directory listing setting for a protected folderfilesPOST/protected-folders/{id}/usersAdd a user to a protected folderfilesPATCH/protected-folders/{id}/users/{username}Update a user in a protected folderfilesDELETE/protected-folders/{id}/users/{username}Remove a user from a protected folderfiles
Generated from release 0.2.35 (current) · API named typeThis entry has been unchanged since it was first published in release 0.2.24 on 4 Nov 2026.
urbestack.com/docs/api/types/ProtectedFolder/