Aruba Central Next Gen icon

Aruba Central Next Gen

Consume Aruba Central Next Gen API

Actions408

Roles & Policy → Update Policy

AI-generated

Overview

This node operation updates a policy within the Roles & Policy resource of the Aruba Central Next Gen API. It is useful for managing and modifying existing policies related to device and network configurations in the specified domain, particularly under the configuration domain. For example, users can update firewall rules, access controls, or other policy settings programmatically.

Use Case Examples

  1. Updating a network access policy to include new rules.
  2. Modifying an existing security policy to change permissions or scope.

Properties

Name Meaning
Debug Mode Whether to enable detailed debug logs for troubleshooting.
Domain API domain to interact with, specifying the area of network management such as monitoring, configuration, security, etc.
Name The name of the policy to update.
Body The JSON body containing the updated policy details.
Additional Fields Optional additional fields to specify object type, scope ID, and persona for the policy update.

Output

JSON

  • response - The JSON response from the API after updating the policy, containing details of the updated policy or status.

Dependencies

  • Aruba Central Next Gen API with OAuth2 authentication

Troubleshooting

  • Ensure the 'Name' and 'Body' fields are correctly filled with valid policy data to avoid API errors.
  • If debug mode is enabled, check the detailed logs for troubleshooting issues with the API request or response.
  • Common errors may include authentication failures, invalid JSON in the body, or incorrect domain selection. Verify credentials and input data format.

Discussion