| All Verbs | /api/account/passwordreset |
|---|
"use strict";
export class PasswordReset {
/** @param {{NewPassword?:string,ConfirmPassword?:string,Token?:string,ApplianceId?:string,SubdomainName?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/**
* @type {string}
* @description New password for the user account */
NewPassword;
/**
* @type {string}
* @description Confirm the new password */
ConfirmPassword;
/**
* @type {string}
* @description Password Reset Token */
Token;
/** @type {string} */
ApplianceId;
/** @type {string} */
SubdomainName;
}
export class PasswordResetResponse {
/** @param {{ResponseStatus?:ResponseStatus}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {ResponseStatus} */
ResponseStatus;
}
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /api/account/passwordreset HTTP/1.1
Host: pfapi.pstpf.com.au
Accept: text/csv
Content-Type: text/csv
Content-Length: length
{"NewPassword":"String","ConfirmPassword":"String","Token":"String","ApplianceId":"00000000-0000-0000-0000-000000000000","SubdomainName":"String"}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length
{"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}