Actions34
- Account Actions
- Audit Actions
- Certificate Actions
- Key Manager Actions
- Login Messages Actions
- Role Actions
- SSH Actions
Account → Update
AI-generatedSummary
Update an existing NetApp ONTAP user account by modifying its comment and/or role.
Inputs
- Cluster Host (required) — The hostname or IP address of the ONTAP cluster management LIF.
- Port — HTTPS port for the ONTAP REST API; defaults to 443.
- Account (required) — The identifier of the account to update, specified by name including owner UUID and account name in 'ownerUuid/accountName' format.
- Update Fields — Fields to update on the account. Supports 'Comment' (string) and 'Role' (role name).
- Options — Options to customize the response, including a comma-separated list of fields to include in the output ('*' for all).
Output shape
a single record representing the updated user account, including any asynchronous job information if applicable
The update is performed via the ONTAP REST API PATCH endpoint for the specified account. If the response includes a job, the operation polls until completion before returning. The output may vary depending on requested fields in options.
Examples
Example 1: Update the comment and role of a specific ONTAP account
Specify the cluster host and port; identify the account by its owner UUID and name; set new comment and/or role in update fields; optionally specify fields to return.