Skip to content

Latest commit

 

History

History
57 lines (37 loc) · 1.81 KB

ResetPasswordApi.md

File metadata and controls

57 lines (37 loc) · 1.81 KB

SematextApiClientJavascript.ResetPasswordApi

All URIs are relative to /

Method HTTP request Description
resetPasswordUsingPOST1 POST /users-web/api/v3/account/password/reset Reset Password

resetPasswordUsingPOST1

GenericMapBasedApiResponse resetPasswordUsingPOST1(body)

Reset Password

Example

import {SematextApiClientJavascript} from 'sematext-api-client-javascript';
let defaultClient = SematextApiClientJavascript.ApiClient.instance;

// Configure API key authorization: api_key
let api_key = defaultClient.authentications['api_key'];
api_key.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//api_key.apiKeyPrefix = 'Token';

let apiInstance = new SematextApiClientJavascript.ResetPasswordApi();
let body = new SematextApiClientJavascript.UserInfo(); // UserInfo | dto

apiInstance.resetPasswordUsingPOST1(body).then((data) => {
  console.log('API called successfully. Returned data: ' + data);
}, (error) => {
  console.error(error);
});

Parameters

Name Type Description Notes
body UserInfo dto

Return type

GenericMapBasedApiResponse

Authorization

api_key

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json