Delete task log data
Delete the business data that is logged in the Bot Insight database on a deployed bot.
Prerequisites
Note: View the Control Room APIs in the
Community Edition, but API functionality is limited. You need a
licensed Automation 360 Edition to access the full functionality of
the APIs.
- All API calls must contain an authentication token in the request header. Use the Authentication API to generate a JSON web token. See Authentication API.
- You must have the AAE_Bot Insight
Admin role and the
Bot Insight
license.
To delete data from the Bot Insight database, you provide the following information to the API in the request body:
Parameter | Required | Type | Description |
---|---|---|---|
botname |
yes | string | Name of the bot for which you retrieve data |
repositorypath |
yes | string | Control Room repository path of the bot |
environment |
yes | string | Specifies the environment: DEV or
PROD |
runId |
no | string | ID number that is generated when the bot runs.
Use the get task log data to retrieve the runId: Get task log data. |
fromDate |
no | date | Start date of the period for which to retrieve the data
Format: If you do not provide this parameter, the API will return all available data. Note: Do not provide this parameter if you provide the
runId parameter. |
toDate |
no | date | End date of the period for which to retrieve the data
Note: Do not provide this parameter if you provide the
runId parameter. |