Set the OATH Counter

To set the counter, your first need to retrieve the deviceId.

By default, the counter can only be increased (current value < new value). This behavior can be modified for each Credential Type using the ActivID Management Console.

The possible values for the Event counter manual entry maximum difference with previous value parameter are:

  • 0: allow any value

  • 1: allow forward value only

  • Others: maximum difference

Copy

Sample Request URI

[POST] /scim/{tenant}/Device/11144
Copy

Sample Request

{
    "schemas": ["urn:hid:scim:api:idp:2.0:Action"],
    "urn:hid:scim:api:idp:2.0:Action": {
        "action": "SYNCH-COUNTER",
        "attributes": [
            {
              "name": "COUNTER",
              "value": "21"
            }
        ]}
}
Copy

Sample Response

HTTP 204 No Content