POST access_tokens/change_pass_code

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

Deprecated from CRM.COM R18.0.0

This method changes the pass code for an existing access token. The scenario of using this method is when a customer requests to change the pass code of an access token (of which the identifier is of email address format). This method can be applied only on effective access tokens. A single access token change pass code can be requested by each call

Resource URL

Parameters

Name

Type

Description

token

(mandatory)

String

The token that will verify that the client is trusted

pass_code

(mandatory)

String

The new access token pass code

The user’s new password

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",
  "pass_code":"crmdotcom"
}


Response

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