Aruba Central Next Gen icon

Aruba Central Next Gen

Consume Aruba Central Next Gen API

Actions408

Roles & Policy → Delete Policy

AI-generated

Overview

This node operation deletes a specified policy within the Roles & Policy resource of the Aruba Central Next Gen API. It is useful for managing and cleaning up policies that are no longer needed or relevant in network configurations, particularly in environments where role-based access and policy management are critical.

Use Case Examples

  1. Deleting a firewall policy that is outdated or no longer applicable.
  2. Removing a user role policy to update access controls in a network management system.

Properties

Name Meaning
Debug Mode Enables detailed debug logs for troubleshooting the node execution.
Domain Specifies the API domain to interact with, such as monitoring, configuration, security, etc. For deleting policies, the 'configuration' domain is relevant.
Name The name of the policy to be deleted.
Additional Fields Optional additional parameters for the delete operation, including Object Type (Local or Shared), Scope ID, and Persona.

Output

JSON

  • success - Indicates whether the policy deletion was successful.
  • message - Provides additional information or confirmation about the deletion operation.

Dependencies

  • Requires an API key credential for Aruba Central Next Gen OAuth2 authentication.

Troubleshooting

  • Common issues include incorrect policy name or insufficient permissions to delete the policy.
  • Error messages may indicate network issues, invalid credentials, or that the specified policy does not exist.
  • Enabling Debug Mode can help trace detailed logs to diagnose problems.

Discussion