Results

Remove old tests

Updated:2022-11-01

Cleaning the database from old test execution data. Cleaning are made within the proper scope regarding teams/users/permissions.

The API call starts a background job in the MAIA web app. The jobs stop when all tests within the scope are reviewed.

URL :
/maia/api/public/v4/executions/clean_old?age=<days> --fail -X POST --header 'Content-Type:application/json' --header Api-Token:<token-string>"
Parameters :
  • age (mandatory)
    • Clean database from older than number of days.
Method :

POST

Auth required :

YES with a user token.

Permissions required :

User permissions required for this API call: Access all records and Clean old activity/build/execution records.

Example :
curl -k https://maia.example.com:7777/maia/api/public/v4/executions/clean_old?age=80 --fail -X POST --header 'Content-Type:application/json' --header "Api-Token: Xk8FjBjQcRWdqh4kICvMEL...."
Success Response

TBD