I recently published a “how-to” article that provides an example of Python code that can be used to publish a project, run a specific task on it and delete the published project.
Use case?
“When using a CI/CD pipeline” you may want to test the app as follows:
-
Publish
-
Run scenario
-
Cleanup (including removing the app)
https://how-to.aimms.com/Articles/571/571-publish-run-delete.html