on apigee edge on-premise - how do i reset a user password via the API

Not applicable
 
Solved Solved
0 2 731
1 ACCEPTED SOLUTION

adas
New Member

For edge users you can reset the password using the management api for /users

For example:

PUT https://mgmt.mydomain.com/v1/users/{email}

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<User>
    <EmailId>{email}</EmailId>
    <FirstName>FName</FirstName>
    <LastName>LName</LastName>
    <Password>Password123</Password>
</User>

Depending on whether the users are global users or org level, you might have to do /v1/o/{org}/users/{email} or /v1/users/{email} as the basepath for your api call.

View solution in original post

2 REPLIES 2

adas
New Member

For edge users you can reset the password using the management api for /users

For example:

PUT https://mgmt.mydomain.com/v1/users/{email}

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<User>
    <EmailId>{email}</EmailId>
    <FirstName>FName</FirstName>
    <LastName>LName</LastName>
    <Password>Password123</Password>
</User>

Depending on whether the users are global users or org level, you might have to do /v1/o/{org}/users/{email} or /v1/users/{email} as the basepath for your api call.

adas
New Member

@Terry David You can follow the above post for password reset of users, by sysadmin.