Support
 
Phone Live Chat
 
Support
 
US: +1 888 720 9500
US: +1 800 443 6694
Intl: +1 925 924 9500
Aus: +1 800 631 268
UK: 0800 028 6590
CN: +86 400 660 8680

Direct Inward Dialing: +1 408 916 9393

 
 
 
 
 
Remove AuthToken API
 

Remove AuthToken API

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:

  • The default admin account will not be considered a HDT.
  • Ensure that you URL encode all the special and reserved characters used in REST API requests. Since the client sending the request (browser, postman or TP tools) does not fall under the purview ADManager Plus, encoding the URL for special, reserved and unsafe characters is solely the users' responsibility.

Reserved characters include ; /? : @ = &
Unsafe characters include < > # % { } | \ ^ ~ [ ] ` "'

ADManager Plus Trusted By

The one-stop solution to Active Directory Management and Reporting
Email Download Link