Aruba CX icon

Aruba CX

Interact with Aruba CX Switch REST API

Users → Create

AI-generated

Summary

Creates a new local user on an Aruba CX switch.

Inputs

  • username (required) — Login name for the new user.
  • password (required) — Password for the new user (marked as secret).
  • userGroup (required) — User group/role to assign (e.g., administrators, operators). Defaults to 'operators'.
  • hostOverride — Optional hostname or IP address to override the credential's host, useful when iterating over multiple switches.

Output shape

Array containing the created user object as returned by the Aruba CX REST API (typically includes username, userGroup, and any system‑generated fields such as UUID).

If the request fails and continueOnFail is enabled, the node returns a single item with an error object: { json: { error: } }. Otherwise the error stops workflow execution.

Examples

Example 1: Create a user named 'operator1' with password 's3cr3t' in the operators group on a switch at 10.0.0.5.

Set Username = operator1, Password = s3cr3t, User Group = operators, Host Override = 10.0.0.5.

Discussion