BaseTender
  1. Users
BaseTender
  • Documentazione
  • Auth
    • auth
      POST
  • Vehicles
    • /vehicles/plate/:plate
      GET
    • /vehicles/id/:id
      GET
    • /vehicles/all/:company_id
      GET
    • /vehicles/update/:id
      PUT
  • Companies
    • /companies/create
      POST
  • Users
    • /users/create
      POST
    • /users/createResetOauthPw
      POST
    • /users/resetOauthPw
      POST
    • /users/resetLegacyPw
      POST
  • Trips
    • /trips/all/:company_id/:user_id
      GET
    • /trips/mine/:company_id
      GET
    • /trips/quoted/:company_id
      GET
    • /trips/:id/set/status/:status
      POST
    • /trips/details/:id/:company_id
      GET
    • /trips/all_data/:trip_id
      GET
    • /trips/add
      POST
  • Offers
    • /offers/:id/set/status/:status
      POST
    • /offers/:id/set/offer_business/:offer
      POST
    • offers/:trip_id
      GET
  • Invoices
    • /invoices/mine/:company_id
      GET
    • /invoices/send
      POST
    • /invoices/documents/:trip_id/:type?
      GET
    • /invoices/documents/insert
      POST
    • /invoices/documents/delete/:document_id
      DELETE
  1. Users

/users/resetLegacyPw

POST
/users/resetLegacyPw

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Body Params application/json

Examples

Responses

🟢200Success
application/json
Body

🟠400Error
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request POST 'https://tender.whyb.it:8443/v1/users/resetLegacyPw' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "userId": "68d28a563b011801a374d93b",
    "email": "iadsds13dsd3sd32t@whyb.it",
    "clientSecret": "b1951a6528c8d6cfa2b71d83001658980417c886bd9aefc38eb68d02584b78334243e925c2efbe60578898f9f3e8e360506bfc72e6191512ebb886a8c974521c"
}'
Response Response Example
200 - Success
{
    "message": "success",
    "user_id": "68d285cdd62a3bc066e0c5f8"
}
Modified at 2025-09-23 13:05:46
Previous
/users/resetOauthPw
Next
/trips/all/:company_id/:user_id
Built with