Aruba CX icon

Aruba CX

Interact with Aruba CX Switch REST API

Port Access Roles → Update

AI-generated

Summary

Updates an existing Aruba CX port access role.

Inputs

  • roleName (required) — Name of the port access role to update
  • hostOverride — Optional override for the switch hostname (useful when targeting multiple switches)
  • updateFields.gatewayRole — Gateway role for mobility
  • updateFields.sessionTimeout — Session timeout in seconds (0 means no timeout)

Output shape

object

The updated port access role returned by the Aruba CX API

Examples

Example 1: Update session timeout for a role named 'employee'

Set roleName to 'employee', updateFields.sessionTimeout to 1800

Discussion