Forum Discussion

Shriti1415's avatar
Shriti1415
Copper Contributor
Apr 25, 2023

Password reset API ID parameter

Hi,

 

Please help me understand what is highlighted id in below endpoint and from where will i get this id.

 

POST /users/{id | userPrincipalName}/authentication/methods/{id}/resetPassword

 

 

Regards,

Shriti Kumari

 

 

1 Reply

  • It's the GUID of the password auth method. Each auth method (as enumerated via LIST /authentication/methods/) gets its own ID, which you can then use to perform operations against said method. Reason being that for some methods, you can have multiple entries, i.e. multiple sets of WHfB creds or TAPs, etc.

Resources