POST access_tokens/forgot_pass_code

Available from CRM.COM R16.12.0 & CRM.COM R17.10.0

Deprecated from CRM.COM R18.0.0

This method requests a new pass code for an existing customer's access token providing such access token's identifier (where such reset email will be sent). The access token's identifier should be of email address format. This method can be applied only on effective access tokens. A single access token forgot pass code can be requested by each call

Resource URL

Parameters

Name

Type

Description

token

(mandatory)

String

The token retrieved from the login method

identifier

(mandatory)

StringThe identifier of the access token

Restrictions

  • It is mandatory to specify one of the semi-optional parameters. Only one of those parameters is allowed to be specified.

Response Data

N/A

Examples

 Example 1

HTTP Method: POST


Request


Body

{
  "token":"7031041502C7442CA01FA677D0CCDB4B",
  "identifier":"johndoe@crm.com"
}


Response

{
 "status": {
 "message": "",
 "description": "",
 "code": "OK"
 }
}