Update Token Status API

Call this function to update the token status.

Below is the URL to access the API functions:

PUT /CentagateWS/webresources/token/update/token/status/{admin_username}

Parameters

NoParametersOccurrenceDescriptions
1usernameRequiredThe user's username
2typeRequiredType of token is 1=Mobile Token, 2=SMS Token, 3=Challenge Question Token and 4=PKI Token
3statusRequiredToken Status is 1=Pending, 2=Valid, 3=Temp Deactivate and 4=Deactivate
4cenTokenRequiredThe Hmac Value Calculated Using SHA256 With SecretCode As Key And Plain Text From Admin Username + AuthToken

Sample Code

As in below there are some examples of source code of access the API functions:

Leave a Reply

Your email address will not be published.