# ProtectedUserPatch

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

UrbeStack release 0.2.35 named type of the API.

## Fields

- `enabled` (boolean): Set to false to suspend the user or true to lift the suspension.
- `expires_at` (string, matching ^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}Z$ or null): Future UTC time at which access expires. Set to null to clear the expiration.
- `password` (string, up to 128 characters)
- `username` (ProtectedUsername): New username. Renaming alone preserves the current password.

## Used by

- [PATCH /protected-folders/{id}/users/{username}](https://urbestack.com/docs/api/patch-protected-folders-id-users-username.md): Update a user in a protected folder
