Developer

 View Only
Expand all | Collapse all

Aruba Central update group name by API fails

This thread has been viewed 25 times
  • 1.  Aruba Central update group name by API fails

    Posted Apr 05, 2022 08:33 AM
    Hi all,

    I fail to update a existing group name in Central using this call : Update group name for the given group.

    curl --location --request PATCH 'https://eu-apigw.central.arubanetworks.com/configuration/v1/groups/MY_GROUP/name' \
    --header 'Content-Type: application/json' \
    --header 'Accept: application/json' \
    --data-raw '{
        "group"" Branch Office"
    }'

    I tried with curl, python and with Postman and I still get the 400 error :

    {
    "description": "Group name update not permitted",
    "error_code": "0001",
    "service_name": "Configuration"
    }

    I don't understand if there is an issue with RBAC (I'm an Aruba Central org admin) or with the request format or anything else.
    Has someone try to consume this API ?

    Thanks for your help


  • 2.  RE: Aruba Central update group name by API fails

    Posted May 02, 2022 03:37 PM
    Look good…

    do you have open an issue on TAC ?

    ------------------------------
    PowerArubaSW : Powershell Module to use Aruba Switch API for Vlan, VlanPorts, LACP, LLDP...

    PowerArubaCP: Powershell Module to use ClearPass API (create NAD, Guest...)

    PowerArubaCL: Powershell Module to use Aruba Central

    PowerArubaCX: Powershell Module to use ArubaCX API (get interface/vlan/ports info)..

    ACEP / ACMX #107 / ACDX #1281
    ------------------------------