Direct Inward Dialing: +1 408 916 9393
This API helps to invalidate technicians' authTokens from your application.
Request URL format: http://<hostname>:<port>/RestAPI/RemoveAPIAuthToken
Request parameters:
Parameter name | Mandatory | Description |
PRODUCT_NAME | Yes | Product name or module name from which the request is being sent; will be needed for auditing. |
AuthToken | Yes | Authentication token that is generated either from the Delegation tab (Delegation > Configuration > Technician Authtokens) or from the My account tab (My Account > Active Authtokens) in the top right corner of the product. |
Response:
The response will be a JSON array string which contains the list of JSONObjects.
Parameter name | Description |
statusMessage | Contains the appropriate message if an issue or error occurs while processing the request. |
success | Contains true or false, indicating whether the operation is a success or failure. |
Sample input/output:
Request
http://admanager:8080/RestAPI/RemoveAPIAuthToken?PRODUCT_NAME=module&AuthToken=3187f9d3-da6b-4bc2-aaff-a73495753b8d
Response:
{ "statusMessage": "Successfully deleted the authtoken(s).", "success": "true" }
Note:
Reserved characters include ; /? : @ = &
Unsafe characters include < > # % { } | \ ^ ~ [ ] ` "'