Cleaning the database from unreferenced 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 data within the scope are reviewed.
/maia/api/public/v4/status/clean_unreferenced --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/status/clean_unreferenced --fail -X POST --header 'Content-Type:application/json' --header "Api-Token: Xk8FjBjQcRWdqh4kICvMEL...."
TBD