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 obtained using the Generate AuthToken API. This authToken will be deleted in the given request. |
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" }