# Make user invisible Set whether a user is invisible or visible. An invisible user remains part of the account (tenant) but will not appear in the list of users in the admin box. The user data remains in the system. Provide the user's ID as a path parameter and a Boolean invisible value in the request body (true for invisible, false for visible). A valid environment token is required to call this endpoint. You can obtain it from the environment authentication route. Endpoint: PUT /resources/users/v1/{userId}/invisible Security: bearer ## Path parameters: - `userId` (string, required) ## Request fields (application/json): - `invisible` (boolean, required) ## Response 200 fields (application/json): - `id` (string, required) - `email` (string, required) - `name` (string, required) - `profilePictureUrl` (string, required) - `sub` (string, required) - `verified` (boolean, required) - `mfaEnrolled` (boolean, required) - `mfaBypass` (boolean) - `phoneNumber` (string) - `roles` (array, required) - `roles.vendorId` (string, required) - `roles.tenantId` (string, required) - `roles.key` (string, required) - `roles.description` (string, required) - `roles.isDefault` (boolean, required) - `roles.firstUserRole` (boolean, required) - `roles.level` (number, required) - `roles.createdAt` (string, required) - `roles.updatedAt` (string, required) - `roles.permissions` (array, required) - `provider` (string, required) - `tenantIds` (array, required) - `activatedForTenant` (boolean) - `isLocked` (boolean) - `tenants` (array, required) - `tenants.temporaryExpirationDate` (string) - `tenants.isDisabled` (boolean) - `invisible` (boolean) - `superUser` (boolean) - `metadata` (string, required) - `vendorMetadata` (string, required) - `externalId` (string) - `lastLogin` (string, required) - `groups` (array) - `subAccountAccessAllowed` (boolean, required) - `managedBy` (string) Enum: "frontegg", "scim2", "external"