POST access_tokens/reset_pass_code
This method resets an access token pass code to a random 6 alphanumeric characters, by providing the access token authentication code or identifier. This method can be applied only on effective access tokens. A single access token can be update by each call. From CRM.COM R13.1.0 this method will reset the access token pass code to one that meets the configured Access Token Definition or Classification pass code settings
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 identifier of the access token |
fields_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 |
Restrictions
- It is mandatory to specify one of the semi-optional parameters. Only one of those parameters is allowed to be specified.
Response Data
Name | Type | Description |
---|---|---|
id | String | The ID of the retrieved access token |
number | String | The number of the retrieved access token |
life_cycle_state | String | The state of the retrieved access token which can be one of the following: EFFECTIVE, NOT_EFFECTIVE, PENDING_VERIFICATION |
authentication_code | String | The authentication code of the retrieved access token |
identifier | String | The identifier of the retrieved access token |
random_pass_code | String | The pass code that was randomly generated (not encrypted) |
Log Information Object | The log information related with the retrieved access token |
Referred Objects Response Data