Developer

 View Only
last person joined: 6 days ago 

Expand all | Collapse all

Update password

This thread has been viewed 29 times
  • 1.  Update password

    Posted Mar 22, 2022 01:35 PM
    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
    ------------------------------


  • 2.  RE: Update password

    MVP GURU
    Posted Mar 31, 2022 04:20 AM
    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
    ------------------------------