POST/applications/{uuid}/clone

Clone

Clone an application to a destination owned by the authenticated team.

  • IdempotentThe SDK sends Idempotency-Key, so a retried request is only applied once.

1 parameter · 3 body fields
uuidstringrequired
UUID of the application.
clone_volumesbooleanoptional
Whether to clone volume data. Needs the deploy ability.
Default:false
destination_uuidstringrequired
UUID of the destination to clone into.
namestringoptional
Optional name for the cloned application.

6 status codes
201Application cloned.
messagestringoptional
uuidstringoptional
400Invalid token.
messagestringoptional
401Unauthenticated.
messagestringoptional
403The token needs the deploy ability to clone volume data.
404Resource not found.
messagestringoptional
422Validation error.
errorsobjectoptional
messagestringoptional

Error handling

A 400 is returned: Invalid token. A 401 is returned: Unauthenticated. A 403 is returned: The token needs the deploy ability to clone volume data. A 404 is returned: Resource not found. A 422 is returned: Validation error.