Aruba Central Next Gen icon

Aruba Central Next Gen

Consume Aruba Central Next Gen API

Actions408

Roles & Policy → Create Role

AI-generated

Overview

This node operation creates a new role within the Aruba Central Next Gen platform under the Roles & Policy resource. It is useful for managing user roles and permissions by defining unique roles with specific configurations. For example, administrators can create roles to control access to network configuration, monitoring, or security settings.

Use Case Examples

  1. Creating a role named 'NetworkAdmin' with permissions to configure devices and manage security settings.
  2. Defining a role for monitoring staff with read-only access to device and client monitoring data.

Properties

Name Meaning
Debug Mode Whether to enable detailed debug logs for troubleshooting.
Domain API domain to interact with, such as monitoring, configuration, security, etc.
Name Unique name of the role to be created.
Body Role configuration in JSON format specifying the details of the role.
Additional Fields Optional additional fields for the role such as Object Type (Local or Shared), Scope ID, and Persona.

Output

JSON

  • id - Unique identifier of the created role.
  • name - Name of the created role.
  • domain - Domain under which the role is created.
  • configuration - Detailed configuration of the created role as provided in the input body.

Dependencies

  • Aruba Central Next Gen API with OAuth2 authentication

Troubleshooting

  • Ensure the role name is unique to avoid conflicts.
  • Verify the JSON format of the role configuration body is correct to prevent parsing errors.
  • Check API credentials and permissions to ensure the node can create roles.
  • Enable Debug Mode to get detailed logs for troubleshooting errors.

Links

Discussion