The REST API named "post /.../.../actions/deployMar" for only first deployment and the REST API does not include the action for re-deploying. When trying to re-deploy wi,th "post /.../.../actions/deployMar" to the environment that .mar file is already deployed, then the message like "... was already existed" appears.
Then to realize the re-deployment needs to follow these steps:
- use delete action for the certain .mar file which already deployed
- deploy the .mar file again