Read and Review Automation Anywhere Documentation

Automation Anywhere Version 11.3

Close Contents

Contents

Open Contents

Update auto login credentials

  • Updated: 5/12/2020
    • 11.3.x
    • Explore
    • Enterprise

Update auto login credentials

Use the Update auto login credential values API to change and save login credential values to 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 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 Authentication API to generate a JSON Web Token.
  2. Specify the method and URL.
    • Method: PUT
    • URL: http://<your_control_room_url>/v1/credentialvault/external/credentials/loginsetting
  3. Provide the login details in the request body.
    {
      "Username": "<Automation_Anywhere_username>",
      "Windows_Username": "<Windows_username>",
      "Windows_Password": "<Windows_password>"
    }
  4. Send the request.
    • In a REST client, click SEND.
    • In the Swagger interface, click Execute.

    Success Response:

    200 Credentials were successfully updated.
Note: You can also run REST requests from a command terminal. The following is a curl request example, formatted for readability.
curl -X PUT "<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\"
                }"
Send Feedback