Read and Review Automation Anywhere Documentation

Automation Anywhere Version 11.3

Close Contents

Contents

Open Contents

Delete a file from the repository

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

Delete a file from the repository

Send a Delete request to remove a file from the Control Room repository.

Prerequisites

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.
Permissions
You must have Delete permission for the folder you want to delete. If you can delete from the Control Room interface, you can delete using this API.

See Bot Permissions for a Role.

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. Select Delete as the method.
  3. In the URL, add the id for the file you are deleting.
    URL example:

    http://<your_control_room_url>/v1/repository/files/20

  4. Send the request.
    • In a REST Client, click SEND.
    • In the Swagger interface, click Execute.
    Response body:
    OK
Send Feedback