Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Tip

Available from CRM.COM R12.0.0

Excerpt

This method resets an access token verification code, by providing the access token authentication code or identifier. This method can be applied only on Pending Verification access tokens. A single access token can be update by each call.

Resource URL

Parameters

Name

Type

Description

token

String

The token retrieved from the login method

authentication_code

(semi-optional)

String

The authentication code of the access token

identifier

(semi-optional)

String The The identifier of the access token.
 fieldsfields_set

(optional)

List of Strings, comma separated

A list of fields that should be included in the results. If not specified then all the available fields will be returned

...

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

Response Data

Include Page
V4:access_token_reset_verification_short
V4:access_token_reset_verification_short

...

Expand
titleExample 1

HTTP Method: POST

 

Request:

 

Body:

Code Block
themeConfluence
languagejavascript
linenumberstrue
 {
  "token":"{{token}}",
  "identifier":"36"
}

 

Response:

Code Block
themeConfluence
languagejavascript
linenumberstrue
 {
  "data": {
    "authentication_code": "ET",
    "number": "AT0000000136",
    "identifier": "36",
    "log_information": {
      "created_by_unit": {
        "alternative_code": "adminunit",
        "name": "Admin Unit",
        "description": "admin unit",
        "id": "1"
      },
      "updated_by_unit": {
        "alternative_code": "adminunit",
        "group_name": "Main Group",
        "community_name": "Community",
        "name": "Admin Unit",
        "description": "admin unit",
        "id": "1"
      },
      "created_date": "2016-10-05T13:19:56",
      "updated_date": "2017-02-13T14:51:08",
      "updated_by_user": {
        "person_name": "CRM COM",
        "id": "1",
        "username": "MPAdministrator"
      },
      "created_by_user": {
        "person_name": "MPAdministrator",
        "id": "1",
        "username": "MPAdministrator"
      }
    },
    "id": "5D79DBBA75C245F9A63C9FA6E084D250",
    "life_cycle_state": "PENDING_VERIFICATION",
    "verification_code": "2264365"
  },
  "status": {
    "code": "OK",
    "description": "",
    "message": ""
  }
}