User Management

Reset Active Directory user password

Changed on

Reset password for a user in AWS Directory Service (Active Directory) with complexity validation

post/api/user/reset_password

Request

  • The document declares no server URL.
  • Auth
    socaAuth (a scheme the document does not define) and socaToken (a scheme the document does not define)

Request body application/x-www-form-urlencoded

userstring required

Username of the user whose password will be reset

passwordstring password required

New password (must meet AD complexity requirements - 8-64 chars with 3 of 4 character types)

directory_idstring

AWS Directory Service ID (uses default if not provided)

Example request

{
  "user": "john.doe",
  "password": "NewSecurePass123!",
  "directory_id": "d-1234567890"
}

Response

Password successfully updated

successboolean
messagestring

Example response

{
  "success": true,
  "message": "Password updated correctly"
}

Changes

    • warning

      changed the pattern of the request property from f'^d-[0-9a-f]{10}$' to ^d-[0-9a-f]{10}$

    • info

      the endpoint scheme security socaAuth AND socaToken was added to the API

    • info

      the endpoint scheme security edhAuth AND edhToken was removed from the API

    • info

      the endpoint scheme security edhAuth AND edhToken was added to the API

    • info

      the endpoint scheme security socaAuth AND socaToken was removed from the API