Aruba Central Next Gen icon

Aruba Central Next Gen

Consume Aruba Central Next Gen API

Actions408

Roles & Policy → Create Role GPID

AI-generated

Overview

This node operation creates a Role GPID within the Roles & Policy resource of the Aruba Central Next Gen API. It is useful for managing role-based access control by defining roles with specific permissions and scopes. For example, network administrators can use this operation to create roles that control access to configuration or monitoring domains in their network environment.

Use Case Examples

  1. Creating a new role with a specific name and permissions in the configuration domain.
  2. Defining a shared role with a particular scope ID and persona for access management.

Properties

Name Meaning
Debug Mode Whether to enable detailed debug logs for troubleshooting.
Domain API domain to interact with, such as monitoring, configuration, interfaces, routing, network services, security, management, or system.
Name The name of the role GPID to create.
Body The JSON body containing the details of the role GPID to be created.
Additional Fields Optional additional fields for the role GPID such as object type, scope ID, and persona.

Output

JSON

  • response - The JSON response from the API after creating the role GPID, containing details of the created role.

Dependencies

  • Aruba Central Next Gen API with OAuth2 authentication

Troubleshooting

  • Ensure the API credentials are correctly configured and have the necessary permissions to create roles.
  • Verify that the 'Name' and 'Body' fields are correctly filled with valid data as required by the API.
  • If debug mode is enabled, check the detailed logs for specific error messages to diagnose issues.

Links

Discussion