NetApp ONTAP Security icon

NetApp ONTAP Security

Manage NetApp ONTAP security settings, users, roles, and certificates

Role → Delete

AI-generated

Summary

Delete a specific security role from a NetApp ONTAP cluster by specifying the cluster host, optional port, and the role's identifier (by name).

Inputs

  • Cluster Host (required) — The hostname or IP address of the ONTAP cluster management LIF.
  • Port — HTTPS port for the ONTAP REST API (default 443).
  • Role (required) — The role to delete, specified by its name.
  • Options — Collection of additional options; currently supports a 'Fields' parameter to specify a comma-separated list of fields to include in the response.

Output shape

a single JSON object indicating success and the identifier of the deleted role

The operation returns an object with a success flag and the deleted role's identifier as "/". Errors during deletion will throw and halt execution unless 'Continue On Fail' is enabled.

Examples

Example 1: Delete role named 'adminRole' on cluster 'cluster.example.com'

Set 'Cluster Host' to 'cluster.example.com', 'Role' to the name of the role (e.g. 'adminRole') with 'By Name' mode, leave 'Port' as 443 or specify if different, and execute the node.

Links

Discussion