Delete auto-login credentials

Use the Delete auto login credential values API to remove login credential values from the Credential Vault for the specified Automation Anywhere user and their device.

Prerequisites

Permissions
You must have the AAE_Admin role.
JSON Web Token (JWT)
All Control Room APIs require a JSON Web Token (JWT) to access the APIs. Generate an authentication token using the Enterprise 11 Authentication API.
Note:
  • Use the Swagger definition files installed with your Control Room to test the APIs. View the available Swagger APIs at http://<your_control_room_url>/swagger/.
  • You can also use a REST client to complete this task.

Procedure

  1. Add an authentication token to the request header.
    Note: Use the Enterprise 11 Authentication API to generate a JSON Web Token.
  2. Specify the method and URL.
    • Method: DELETE
    • URL: http://<your_control_room_url>/v1/credentialvault/external/credentials/loginsetting

    Create auto-login credentials

  3. Send the request.
    • In a REST client, click SEND.
    • In the Swagger interface, click Execute.

    Success Response:

    200 Credentials were successfully deleted.
Note: You can also run REST requests from a command terminal. The following is a curl request example, formatted for readability.
curl -X DELETE "<your_control_room_url>/v1/credentialvault/external/credentials/loginsetting" -H "accept: application/json"
                -H "X-Authorization: <authentication_token>" -H "Content-Type: application/json"
                -d "{                
                \"Username\": \"string\", 
                \"Windows_Username\": \"string\", 
                \"Windows_Password\": \"string\"
                }"