/databases/{uuid}/cloneClone a database
Creates a clone of a database at a destination owned by the authenticated team. Provide destination_uuid to select the destination, and set clone_volumes to true to include volume data when the token has deploy ability. The 201 response confirms that the database was cloned.
- IdempotentThe SDK sends
Idempotency-Key, so a retried request is only applied once.
Clone configuration for the database. Provide destination_uuid; volume data is not cloned unless clone_volumes is true.
A 400 is returned for an invalid token, and a 401 is returned when the request is unauthenticated. A 403 is returned when clone_volumes is true and the token lacks deploy ability; a 404 indicates that a resource was not found. destination_uuid is required and must identify a destination owned by the authenticated team. The uuid path parameter must identify the source database.