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.
/maia/api/public/v4/executions/clean_old?age=<days> --fail -X POST --header 'Content-Type:application/json' --header Api-Token:<token-string>"
POST
YES with a user token.
User permissions required for this API call: Access all records and Clean old activity/build/execution records.
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...."
TBD