Aruba Central Next Gen icon

Aruba Central Next Gen

Consume Aruba Central Next Gen API

Actions408

Roles & Policy → Get Role GPID

AI-generated

Overview

This node operation interacts with the Aruba Central Next Gen API to retrieve the GPID (Global Policy ID) of a specific role within the Roles & Policy resource. It is useful for network administrators who need to programmatically access role identifiers for configuration or auditing purposes. For example, it can be used to fetch role details by name within a specified domain such as Configuration, aiding in automated network policy management.

Use Case Examples

  1. Retrieve the GPID of a role named 'my-role-gpid' in the Configuration domain to automate role-based access control updates.
  2. Fetch role GPID with additional filters like view type, object type, and scope ID for detailed role management in a network environment.

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, Interfaces, Routing, Network Services, Security, Management, or System.
Name The name of the role for which to retrieve the GPID.
Additional Fields Optional additional parameters to refine the role GPID retrieval, including view type, object type, scope ID, persona, detailed flag, and effective flag.

Output

JSON

  • roleGpid - The retrieved Global Policy ID (GPID) of the specified role.

Dependencies

  • Aruba Central Next Gen API
  • An API key credential for authentication

Troubleshooting

  • Ensure the 'Name' property is correctly set to an existing role name; otherwise, the API may return an error or no data.
  • Verify that the selected 'Domain' matches the context where the role exists to avoid invalid API calls.
  • If debug mode is enabled, check the detailed logs for specific error messages to diagnose issues.
  • Common errors include authentication failures, invalid parameters, or network connectivity issues; verify credentials and network access.

Discussion