Aruba Central Next Gen icon

Aruba Central Next Gen

Consume Aruba Central Next Gen API

Actions408

Roles & Policy → Update Role

AI-generated

Overview

This node updates a role configuration within the Aruba Central Next Gen platform under the Roles & Policy resource. It is useful for managing role-based access control by modifying role details such as name, permissions, and scope. For example, administrators can update a role's JSON configuration to change access rights or assign the role to different personas or scopes.

Use Case Examples

  1. Updating a role named 'my-role' with a new JSON configuration to adjust permissions.
  2. Changing the scope or persona associated with a role to reflect organizational changes.

Properties

Name Meaning
Debug Mode Enable detailed debug logs for troubleshooting.
Domain Select the API domain to interact with, such as Configuration for role management.
Name Unique name of the role to update.
Body Role configuration in JSON format representing the updated role details.
Additional Fields Optional additional parameters for the role update, including object type, scope ID, and persona.

Output

JSON

  • roleId - Identifier of the updated role.
  • status - Status of the update operation.
  • message - Additional message or information about the update result.

Dependencies

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

Troubleshooting

  • Ensure the role name is unique and correctly specified to avoid update conflicts.
  • Verify the JSON format of the role configuration body to prevent parsing errors.
  • Check API domain selection to ensure it matches the intended resource and operation.
  • Enable Debug Mode to get detailed logs for troubleshooting errors during execution.

Discussion