Users

Change User Password

Change a user's password

post/users/{id}/change-password

Path parameters

idstring objectid required

User ID

User ID

Request body

passwordstring required

Password

Response

OK

errorstring
messagestring
statusstring

Changes

Changed in 3 of the 3 revisions of this API.31815

  • c7a4715c1f13119See the full diff
    • for the path request parameter id, the type/format was changed from string/ to string/objectid

      request-parameter-type-changed

    • removed the optional property code from the response with the 200 status

      response-optional-property-removed

    • api operation id change_user_password was added

      api-operation-id-added

    • request body became optional

      request-body-became-optional

    • removed the pattern ^[0-9a-fA-F]{24}$ from the path request parameter id

      request-parameter-pattern-removed

    • added the non-success response with the status 400

      response-non-success-status-added

    • added the non-success response with the status 401

      response-non-success-status-added

    • added the non-success response with the status 500

      response-non-success-status-added

    • added the optional property data to the response with the 200 status

      response-optional-property-added

    • added the optional property error to the response with the 200 status

      response-optional-property-added

    • added the optional property status to the response with the 200 status

      response-optional-property-added

    This revision also has 32 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • removed the optional property data from the response with the 200 status

      response-optional-property-removed

  • 526e5bdf6dee2166See the full diff
    • request body became required

      request-body-became-required

    • added the pattern ^[0-9a-fA-F]{24}$ to the path request parameter id

      request-parameter-pattern-added

    • removed the optional property data/_id from the response with the 200 status

      response-optional-property-removed

    • removed the optional property data/created_at from the response with the 200 status

      response-optional-property-removed

    • removed the optional property data/created_by from the response with the 200 status

      response-optional-property-removed

    • removed the optional property data/email from the response with the 200 status

      response-optional-property-removed

    • removed the optional property data/first_name from the response with the 200 status

      response-optional-property-removed

    • removed the optional property data/last_name from the response with the 200 status

      response-optional-property-removed

    • removed the optional property data/role from the response with the 200 status

      response-optional-property-removed

    • removed the optional property data/role_id from the response with the 200 status

      response-optional-property-removed

    • removed the optional property data/root_admin from the response with the 200 status

      response-optional-property-removed

    • removed the optional property data/root_admin_role from the response with the 200 status

      response-optional-property-removed

    • removed the optional property data/routes from the response with the 200 status

      response-optional-property-removed

    • removed the optional property data/updated_at from the response with the 200 status

      response-optional-property-removed

    • removed the optional property data/updated_by from the response with the 200 status

      response-optional-property-removed

    • removed the optional property data/username from the response with the 200 status

      response-optional-property-removed

    • removed the optional property error from the response with the 200 status

      response-optional-property-removed

    • removed the optional property status from the response with the 200 status

      response-optional-property-removed

    • api operation id change_user_password removed and replaced with

      api-operation-id-removed

    • for the path request parameter id, the type/format was generalized from string/objectid to string/

      request-parameter-type-generalized

    • removed the non-success response with the status 400

      response-non-success-status-removed

    • removed the non-success response with the status 401

      response-non-success-status-removed

    • removed the non-success response with the status 500

      response-non-success-status-removed

    • added the optional property code to the response with the 200 status

      response-optional-property-added

    This revision also has 277 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog