POST
/applications/{uuid}/moveMove an application to another environment
Moves an application to another project environment without affecting its running containers. Provide the target environment in environment_uuid; after the move, the application picks up shared environment variables from the new environment on its next deployment.
- IdempotentThe SDK sends
Idempotency-Key, so a retried request is only applied once.
uuidstringrequired
The UUID of the application to move.
The target environment for the application move.
environment_uuidstringrequired
UUID of the target environment.
200Returns the application's UUID, the target environment UUID, the project UUID, and a confirmation message.
environment_uuidstringoptional
messagestringoptional
project_uuidstringoptional
uuidstringoptional
400Returned when the token is invalid.
messagestringoptional
401Returned when the request is unauthenticated.
messagestringoptional
404Returned when a resource is not found.
messagestringoptional
422Returned when validation fails.
errorsobjectoptional
messagestringoptional
Error handling
A 400 is returned for an invalid token, a 401 when the request is unauthenticated, a 404 when a resource is not found, and a 422 for a validation error. The uuid path parameter must identify the application. The request body must include environment_uuid, the UUID of the target environment.