webshare.update =============== Update Webshare Service Configuration. .. raw:: html
Type: object

Type: array
No Additional Items

Tuple Validation

Parameter 1: webshare_update

webshare_update

Type: object

Updated webshare configuration data.

No Additional Properties

Bindip

Type: array of string

List of IP addresses used by the TrueNAS Webshare server.

No Additional Items
Each item of this array must be:
Type: string

Passkey

Type: enum (of string)

Passkey authentication mode.

Must be one of:
  • "ENABLED"
  • "DISABLED"
  • "REQUIRED"

Groups

Type: array of string

A list of AD/LDAP group names whose members will be granted access to Webshare.

No Additional Items
Each item of this array must be:
Type: string

Mcp Enabled

Type: boolean

Enable the Webshare Model Context Protocol (MCP) server, which lets users connect an AI assistant to their Webshare files.

Mcp Allowed Groups

Type: array of string

Groups whose members may connect an AI assistant to Webshare. Each group must also grant Webshare access: truenas_webshare or a group listed in groups. At least one group is required when mcp_enabled is set.

No Additional Items
Each item of this array must be:
Type: string

Must be at least 1 characters long

Mcp Allow Write

Type: boolean

Allow the AI assistant to create new files and directories. It can never overwrite, delete, or rename existing files. When unset, access is read-only.

WebshareEntry

Type: object

The updated Webshare service configuration.

No Additional Properties

Id

Type: integer

Unique identifier for the Webshare service configuration.

Bindip

Type: array of string

List of IP addresses used by the TrueNAS Webshare server.

No Additional Items
Each item of this array must be:
Type: string

Passkey

Type: enum (of string)

Passkey authentication mode.

Must be one of:
  • "ENABLED"
  • "DISABLED"
  • "REQUIRED"

Groups

Type: array of string

A list of AD/LDAP group names whose members will be granted access to Webshare.

No Additional Items
Each item of this array must be:
Type: string

Mcp Enabled

Type: boolean

Enable the Webshare Model Context Protocol (MCP) server, which lets users connect an AI assistant to their Webshare files.

Mcp Allowed Groups

Type: array of string

Groups whose members may connect an AI assistant to Webshare. Each group must also grant Webshare access: truenas_webshare or a group listed in groups. At least one group is required when mcp_enabled is set.

No Additional Items
Each item of this array must be:
Type: string

Must be at least 1 characters long

Mcp Allow Write

Type: boolean

Allow the AI assistant to create new files and directories. It can never overwrite, delete, or rename existing files. When unset, access is read-only.



*Required roles:* SHARING_WEBSHARE_WRITE