Hi Cristina
i think the API call is only for Central on Premise...
No sure it is possible to actually change the password...
------------------------------
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
------------------------------
Original Message:
Sent: Mar 22, 2022 05:58 AM
From: Cristina de la Torre Villaverde
Subject: Update password
I'm trying to update my users' passwords throuw the API, I have tried with the endpoints: /accounts/v1/users/change_password and /platform/rbac/v1/users/{user_id}/password. I have used the MSP account access token and the user one but I always receive the same message:
{
"error_code": "PERMISSION_DENIED",
"msg": "API is only supported for private cloud Central environment. For public cloud, please reset password via sso"
}
I'm doing a periodical process but the passwords expire each X days, so the solution I think are update the password before it expires or check any option for it do not expires.
Do you know how to do that?
Thank you
------------------------------
Cristina de la Torre Villaverde
------------------------------