Filescom users

From Files-com/files-cli · View interactive version

Filescom users is an AI agent skill from the GitHub repository Files-com/files-cli. A User represents a human or system/service user with the ability to connect to Files.com via any of the available connectivity methods (unless restricted to specific protocols). Pick `--authentication-method` carefully at creation. Each method behaves differently: `email_signup` mails a "set your p

How to use this skill

Skill file

filescom-users

A User represents a human or system/service user with the ability to connect to Files.com via any of the available connectivity methods (unless restricted to specific protocols).

Users are associated with API Keys, SSH (SFTP) Keys, Notifications, Permissions, and Group memberships.

Authentication

The authentication_method property on a User determines exactly how that user can login and authenticate to their Files.com account. Files.com offers a variety of authentication methods to ensure flexibility, security, migration, and compliance.

These authentication methods can be configured during user creation and can be modified at any time by site administrators. The meanings of the available values are as follows:

All subcommands also accept the flags documented in CODE0 (--api-key, --format, --workspace-id, --debug, and the pagination flags --cursor / --per-page / --max-pages on list). Those are not repeated below.

Commands

`files-cli users list`

List Users.

| Flag | Type | Description |

| --- | --- | --- |

| --sort-by | object | If set, sort records by the specified field in either asc or desc direction. Valid fields are site_id, company, name, email, username, workspace_id, last_desktop_login_at, authenticate_until, last_login_at, site_admin, disabled, password_validity_days, ssl_required or ftp_tls_session_reuse_required. |

| --filter | object | If set, return records where the specified field is equal to the supplied value. Valid fields are username, name, email, company, site_admin, password_validity_days, ssl_required, ftp_tls_session_reuse_required, last_login_at, authenticate_until, not_site_admin, disabled, partner_id, primary_group_id or workspace_id. Valid field combinations are [ site_admin, username ], [ not_site_admin, username ], [ workspace_id, username ], [ company, name ], [ workspace_id, name ], [ workspace_id, email ], [ workspace_id, company ], [ workspace_id, site_admin ], [ workspace_id, not_site_admin ], [ workspace_id, disabled ], [ workspace_id, partner_id ], [ workspace_id, site_admin, username ], [ workspace_id, not_site_admin, username ], [ workspace_id, disabled, username ], [ workspace_id, partner_id, username ] or [ workspace_id, company, name ]. |

| --filter-gt | object | If set, return records where the specified field is greater than the supplied value. Valid fields are password_validity_days, last_login_at or authenticate_until. |

| --filter-gteq | object | If set, return records where the specified field is greater than or equal the supplied value. Valid fields are password_validity_days, last_login_at or authenticate_until. |

| --filter-prefix | object | If set, return records where the specified field is prefixed by the supplied value. Valid fields are username, name, email or company. Valid field combinations are [ company, name ]. |

| --filter-lt | object | If set, return records where the specified field is less than the supplied value. Valid fields are password_validity_days, last_login_at or authenticate_until. |

| --filter-lteq | object | If set, return records where the specified field is less than or equal the supplied value. Valid fields are password_validity_days, last_login_at or authenticate_until. |

| --ids | string | comma-separated list of User IDs |

| --include-parent-site-users | bool | Include users from the parent site. |

| --include-default-workspace-users | bool | When scoped to a Custom Workspace, include Default Workspace users who have permissions in that Workspace. Available to Site Administrators, and to Workspace Administrators and Folder Admins in that Workspace when the site shares its Default Workspace directory with Workspaces. |

| --search | string | Searches for partial matches of name, username, or email. |

`files-cli users find`

Show User.

| Flag | Type | Description |

| --- | --- | --- |

| --id | int64 | User ID. Required. |

`files-cli users create`

Create User.

| Flag | Type | Description |

| --- | --- | --- |

| --avatar-file | file | An image file for your user avatar. |

| --avatar-delete | bool | If true, the avatar will be deleted. |

| --change-password | string | Used for changing a password on an existing user. |

| --change-password-confirmation | string | Optional, but if provided, we will ensure that it matches the value sent in change_password. |

| --email | string | User's email. |

| --grant-permission | string | Permission to grant on the User Root upon creation, or on the Workspace root when the User Root is blank. For the Default Workspace, a blank User Root uses the site root. admin on a Custom Workspace's root grants Workspace Administrator access; on a subfolder it grants Folder Admin access. Can be blank or admin, full, read, write, list, read+write, list+write, or history. |

| --group-id | int64 | Group ID to associate this user with. |

| --group-ids | string | A list of group ids to associate this user with. Comma delimited. |

| --imported-password-hash | string | Pre-calculated hash of the user's password. If supplied, this will be used to authenticate the user on first login. Supported hash methods are MD5, SHA1, and SHA256. |

| --password | string | User password. |

| --password-confirmation | string | Optional, but if provided, we will ensure that it matches the value sent in password. |

| --announcements-read | bool | Signifies that the user has read all the announcements in the UI. |

| --ai-assistant-personality-id | int64 | AI Assistant Personality ID assigned directly to this user, if any. |

| --allowed-ips | string | A list of allowed IPs if applicable. Newline delimited |

| --attachments-permission | bool | DEPRECATED: If true, the user can user create Bundles (aka Share Links). Use the bundle permission instead. |

| --authenticate-until | datetime | Scheduled Date/Time at which user will be deactivated |

| --authentication-method | enum | How is this user authenticated?. One of: password, sso, none, email_signup, password_with_imported_hash, password_and_ssh_key. |

| --billing-permission | bool | Allow this user to perform operations on the account, payments, and invoices? |

| --bypass-user-lifecycle-rules | bool | Exempt this user from user lifecycle rules? |

| --bypass-site-allowed-ips | bool | Allow this user to skip site-wide IP blacklists? |

| --dav-permission | bool | Can the user connect with WebDAV? |

| --desktop-configuration-profile-id | int64 | Desktop Configuration Profile ID assigned directly to this user, if any. |

| --preferred-workspace-id | int64 | Workspace ID the user should land in by default when more than one Workspace is available. |

| --disabled | bool | Is user disabled? Disabled users cannot log in, and do not count for billing purposes. Users can be automatically disabled after an inactivity period via a Site setting or schedule to be deactivated after specific date. |

| --filesystem-layout | enum | File system layout. One of: site_root, user_root, partner_root, integration_centric, workspace_root. |

| --ftp-permission | bool | Can the user access with FTP/FTPS? |

| --header-text | string | Text to display to the user in the header of the UI |

| --integration-centric-profile-id | int64 | Integration Centric Profile ID assigned directly to this user, if any. |

| --language | string | Preferred language |

| --notification-daily-send-time | int64 | Hour of the day at which daily notifications should be sent. Can be in range 0 to 23 |

| --name | string | User's full name |

| --company | string | User's company |

| --notes | string | Any internal notes on the user |

| --office-integration-enabled | bool | Enable integration with Office for the web? |

| --partner-admin | bool | Is this user a Partner administrator? |

| --partner-id | int64 | Partner ID if this user belongs to a Partner |

| --password-validity-days | int64 | Number of days to allow user to use the same password |

| --primary-group-id | int64 | Primary group ID for Group Admin scoping |

| --readonly-site-admin | bool | Is the user an allowed to view all (non-billing) site configuration for this site? |

| --receive-admin-alerts | bool | Deprecated. Use notify_on_all_site_warnings and granular failure notification preferences instead. |

| --notify-on-all-site-warnings | bool | Should the user receive site warnings via email? |

| --notify-on-all-sso-failures | bool | Should the user receive sso/scim/ldap configuration/sync failures via email? |

| --notify-on-all-user-security-events | bool | Should the user receive user security events via email? |

| --notify-on-all-pending-work-failures | bool | Should the user receive pending work failures via email? |

| --notify-on-all-siem-http-destination-failures | bool | Should the user receive siem failures via email? |

| --notify-on-all-sync-failures | bool | Should the user receive sync failures via email? |

| --notify-on-all-automation-failures | bool | Should the user receive automation failures via email? |

| --notify-on-all-expectation-failures | bool | Should the user receive expectation failures and misses via email? |

| --require-login-by | datetime | Require user to login by specified date otherwise it will be disabled. |

| --require-password-change | bool | Is a password change required upon next user login? |

| --responsible-group-id | int64 | ID of the internal Group responsible for this Partner User, overriding the Partner default. |

| --responsible-user-id | int64 | ID of the internal User responsible for this Partner User, overriding the Partner default. |

| --restapi-permission | bool | Can this user access the Web app, Desktop app, SDKs, or REST API? (All of these tools use the API internally, so this is one unified permission set.) |

| --s3-compatible-endpoint-permission | bool | Can the user access the S3-compatible endpoint? Defaults to true. |

| --self-managed | bool | Does this user manage it's own credentials or is it a shared/bot user? |

| --sftp-permission | bool | Can the user access with SFTP? |

| --site-admin | bool | Is the user an administrator for this site? |

| --skip-welcome-screen | bool | Skip Welcome page in the UI? |

| --ssl-required | enum | SSL required setting. One of: use_system_setting, always_require, never_require. |

| --ftp-tls-session-reuse-required | enum | FTP TLS session reuse requirement: use_system_setting, always_require, or never_require. One of: use_system_setting, always_require, never_require. |

| --sso-strategy-id | int64 | SSO (Single Sign On) strategy ID for the user, if applicable. |

| --require-2fa | enum | 2FA required setting. use_system_setting uses the site-wide setting, including SSO exemptions. always_require and never_require override the site-wide setting when user-level overrides are allowed. One of: use_system_setting, always_require, never_require. |

| --tags | string | Comma-separated list of Tags for this user. Tags are used for other features, such as UserLifecycleRules, which can target specific tags. Tags must only contain lowercase letters, numbers, and hyphens. |

| --time-zone | string | User time zone |

| --user-root | string | If filesystem layout is user_root, this path is the root path the user is fixed to for all interfaces. If the filesystem layout is site_root or partner_root, this acts as a root folder only for FTP and SFTP (SFTP applicability also requires a site-wide setting to be set). For partner_root layout, this path is relative to the Partner root folder for all callers and blank opts out of an additional protocol root. In this situation, this path is not applied to the API, Desktop, or Web interface. |

| --user-home | string | Home folder for FTP/SFTP. For users with the partner_root filesystem layout, this path is relative to the Partner root folder. In all other cases, it is an absolute path. Only applies to FTP and SFTP, and not any other interface. |

| --workspace-admin | bool | Whether the user is an administrator of their own Custom Workspace. Does not reflect administration granted through Permissions. |

| --username | string | User's username Required. |

| --workspace-id | int64 | ID of the Workspace the user belongs to. 0 is the Default Workspace. |

`files-cli users user-2fa-reset`

Trigger 2FA Reset process for user who has lost access to their existing 2FA methods.

| Flag | Type | Description |

| --- | --- | --- |

| --id | int64 | User ID. Required. |

`files-cli users resend-welcome-email`

Resend user welcome email.

| Flag | Type | Description |

| --- | --- | --- |

| --id | int64 | User ID. Required. |

`files-cli users unlock`

Unlock user who has been locked out due to failed logins.

| Flag | Type | Description |

| --- | --- | --- |

| --id | int64 | User ID. Required. |

`files-cli users update`

Update User.

| Flag | Type | Description |

| --- | --- | --- |

| --id | int64 | User ID. Required. |

| --avatar-file | file | An image file for your user avatar. |

| --avatar-delete | bool | If true, the avatar will be deleted. |

| --change-password | string | Used for changing a password on an existing user. |

| --change-password-confirmation | string | Optional, but if provided, we will ensure that it matches the value sent in change_password. |

| --email | string | User's email. |

| --grant-permission | string | Permission to grant on the User Root upon creation, or on the Workspace root when the User Root is blank. For the Default Workspace, a blank User Root uses the site root. admin on a Custom Workspace's root grants Workspace Administrator access; on a subfolder it grants Folder Admin access. Can be blank or admin, full, read, write, list, read+write, list+write, or history. |

| --group-id | int64 | Group ID to associate this user with. |

| --group-ids | string | A list of group ids to associate this user with. Comma delimited. |

| --imported-password-hash | string | Pre-calculated hash of the user's password. If supplied, this will be used to authenticate the user on first login. Supported hash methods are MD5, SHA1, and SHA256. |

| --password | string | User password. |

| --password-confirmation | string | Optional, but if provided, we will ensure that it matches the value sent in password. |

| --announcements-read | bool | Signifies that the user has read all the announcements in the UI. |

| --ai-assistant-personality-id | int64 | AI Assistant Personality ID assigned directly to this user, if any. |

| --allowed-ips | string | A list of allowed IPs if applicable. Newline delimited |

| --attachments-permission | bool | DEPRECATED: If true, the user can user create Bundles (aka Share Links). Use the bundle permission instead. |

| --authenticate-until | datetime | Scheduled Date/Time at which user will be deactivated |

| --authentication-method | enum | How is this user authenticated?. One of: password, sso, none, email_signup, password_with_imported_hash, password_and_ssh_key. |

| --billing-permission | bool | Allow this user to perform operations on the account, payments, and invoices? |

| --bypass-user-lifecycle-rules | bool | Exempt this user from user lifecycle rules? |

| --bypass-site-allowed-ips | bool | Allow this user to skip site-wide IP blacklists? |

| --dav-permission | bool | Can the user connect with WebDAV? |

| --desktop-configuration-profile-id | int64 | Desktop Configuration Profile ID assigned directly to this user, if any. |

| --preferred-workspace-id | int64 | Workspace ID the user should land in by default when more than one Workspace is available. |

| --disabled | bool | Is user disabled? Disabled users cannot log in, and do not count for billing purposes. Users can be automatically disabled after an inactivity period via a Site setting or schedule to be deactivated after specific date. |

| --filesystem-layout | enum | File system layout. One of: site_root, user_root, partner_root, integration_centric, workspace_root. |

| --ftp-permission | bool | Can the user access with FTP/FTPS? |

| --header-text | string | Text to display to the user in the header of the UI |

| --integration-centric-profile-id | int64 | Integration Centric Profile ID assigned directly to this user, if any. |

| --language | string | Preferred language |

| --notification-daily-send-time | int64 | Hour of the day at which daily notifications should be sent. Can be in range 0 to 23 |

| --name | string | User's full name |

| --company | string | User's company |

| --notes | string | Any internal notes on the user |

| --office-integration-enabled | bool | Enable integration with Office for the web? |

| --partner-admin | bool | Is this user a Partner administrator? |

| --partner-id | int64 | Partner ID if this user belongs to a Partner |

| --password-validity-days | int64 | Number of days to allow user to use the same password |

| --primary-group-id | int64 | Primary group ID for Group Admin scoping |

| --readonly-site-admin | bool | Is the user an allowed to view all (non-billing) site configuration for this site? |

| --receive-admin-alerts | bool | Deprecated. Use notify_on_all_site_warnings and granular failure notification preferences instead. |

| --notify-on-all-site-warnings | bool | Should the user receive site warnings via email? |

| --notify-on-all-sso-failures | bool | Should the user receive sso/scim/ldap configuration/sync failures via email? |

| --notify-on-all-user-security-events | bool | Should the user receive user security events via email? |

| --notify-on-all-pending-work-failures | bool | Should the user receive pending work failures via email? |

| --notify-on-all-siem-http-destination-failures | bool | Should the user receive siem failures via email? |

| --notify-on-all-sync-failures | bool | Should the user receive sync failures via email? |

| --notify-on-all-automation-failures | bool | Should the user receive automation failures via email? |

| --notify-on-all-expectation-failures | bool | Should the user receive expectation failures and misses via email? |

| --require-login-by | datetime | Require user to login by specified date otherwise it will be disabled. |

| --require-password-change | bool | Is a password change required upon next user login? |

| --responsible-group-id | int64 | ID of the internal Group responsible for this Partner User, overriding the Partner default. |

| --responsible-user-id | int64 | ID of the internal User responsible for this Partner User, overriding the Partner default. |

| --restapi-permission | bool | Can this user access the Web app, Desktop app, SDKs, or REST API? (All of these tools use the API internally, so this is one unified permission set.) |

| --s3-compatible-endpoint-permission | bool | Can the user access the S3-compatible endpoint? Defaults to true. |

| --self-managed | bool | Does this user manage it's own credentials or is it a shared/bot user? |

| --sftp-permission | bool | Can the user access with SFTP? |

| --site-admin | bool | Is the user an administrator for this site? |

| --skip-welcome-screen | bool | Skip Welcome page in the UI? |

| --ssl-required | enum | SSL required setting. One of: use_system_setting, always_require, never_require. |

| --ftp-tls-session-reuse-required | enum | FTP TLS session reuse requirement: use_system_setting, always_require, or never_require. One of: use_system_setting, always_require, never_require. |

| --sso-strategy-id | int64 | SSO (Single Sign On) strategy ID for the user, if applicable. |

| --require-2fa | enum | 2FA required setting. use_system_setting uses the site-wide setting, including SSO exemptions. always_require and never_require override the site-wide setting when user-level overrides are allowed. One of: use_system_setting, always_require, never_require. |

| --tags | string | Comma-separated list of Tags for this user. Tags are used for other features, such as UserLifecycleRules, which can target specific tags. Tags must only contain lowercase letters, numbers, and hyphens. |

| --time-zone | string | User time zone |

| --user-root | string | If filesystem layout is user_root, this path is the root path the user is fixed to for all interfaces. If the filesystem layout is site_root or partner_root, this acts as a root folder only for FTP and SFTP (SFTP applicability also requires a site-wide setting to be set). For partner_root layout, this path is relative to the Partner root folder for all callers and blank opts out of an additional protocol root. In this situation, this path is not applied to the API, Desktop, or Web interface. |

| --user-home | string | Home folder for FTP/SFTP. For users with the partner_root filesystem layout, this path is relative to the Partner root folder. In all other cases, it is an absolute path. Only applies to FTP and SFTP, and not any other interface. |

| --workspace-admin | bool | Whether the user is an administrator of their own Custom Workspace. Does not reflect administration granted through Permissions. |

| --username | string | User's username |

| --workspace-id | int64 | Workspace ID. Only Site Administrators can change this field. Values supplied by Workspace Administrators, Group Administrators, or other non-Site Administrators using /user are ignored. |

| --clear-2fa | bool | If true when changing authentication_method from password to sso, remove all two-factor methods. Ignored in all other cases. |

| --convert-to-partner-user | bool | Required when assigning a Partner to an existing non-Partner user. If true, convert the user by assigning the partner_id provided. |

`files-cli users delete`

Delete User.

| Flag | Type | Description |

| --- | --- | --- |

| --id | int64 | User ID. Required. |

| --new-owner-id | int64 | Provide a User ID here to transfer ownership of certain resources such as Automations and Share Links (Bundles) to that new user. |

Limitations and considerations

Authentication method determines how the user signs in. The --authentication-method flag accepts these values:

Do not apply User Lifecycle Rules to SSO or SCIM users. The identity provider controls the lifecycle state of these users. Use --bypass-user-lifecycle-rules to exempt a specific user.

Disable vs delete. Setting --disabled=true blocks login but preserves the user record. Disabled users cannot log in and do not count for billing purposes. Deletion is a separate, permanent operation.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.