NetApp ONTAP Storage icon

NetApp ONTAP Storage

Manage NetApp ONTAP volumes, aggregates, snapshots, qtrees, and quotas

Qtree → Update

AI-generated

Summary

Update a specific qtree within a given NetApp ONTAP volume by modifying its security style, export policy, and/or Unix permissions.

Inputs

  • Cluster Host (required) — Hostname or IP address of the ONTAP cluster management LIF.
  • Port — HTTPS port for the ONTAP REST API, default 443.
  • Volume (required) — The UUID of the volume containing the qtree to update.
  • Qtree ID (required) — The numeric ID of the qtree to update.
  • Security Style — Security style for the qtree, options are Unix, NTFS, or Mixed.
  • Export Policy — Name of the export policy to apply to the qtree.
  • Unix Permissions — Unix permissions to apply to the qtree (e.g., 755).
  • Options.fields — Comma-separated list of fields to include in the response; use * for all fields.

Output shape

a single record

Returns the updated qtree object as JSON. The response may include only specified fields if the 'fields' option is set. Errors will be thrown if the qtree or volume is not found.

Examples

Example 1: Update qtree security style and Unix permissions

Specify cluster host and port, target volume by UUID, qtree ID to update, set new security style, export policy, and Unix permissions.

Links

Discussion