Skip to content

Use these endpoints to clone a container to another project or server, and to incrementally sync a previously copied container with its source. Both operations run asynchronously; the new or updated container starts automatically when processing completes.


Creates a copy of an existing container. The copy operation runs asynchronously and the new container will start automatically upon successful completion.

NameInTypeRequiredDescription
idpathstringYesUnique identifier of the source container to copy
FieldTypeRequiredDefaultDescription
target_project_idstringYesID of the project where the copy will be created (24-character hex)
target_server_idstringNoID of the server where the copy will be created (defaults to source server)
namestringNoName for the copied container, auto-generated if not provided (3–100 chars, alphanumeric with - and _)
ssh_public_keystringNoSSH public key for the copied container; must be unique, not inherited from source
source_snapshotstringNoSpecific snapshot to copy from; copies latest state if not provided
copy_firewall_rulesbooleanNofalseWhether to copy firewall rules (ACL) from source container to target container
copy_network_rulesbooleanNofalseWhether to copy network rules/settings from source container to target container
Terminal window
curl -X POST "https://api.hoody.com/api/v1/containers/507f1f77bcf86cd799439011/copy" \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
-d '{
"target_project_id": "507f1f77bcf86cd799439044",
"target_server_id": "507f1f77bcf86cd799439055",
"name": "dev-copy-prod",
"copy_firewall_rules": true,
"copy_network_rules": false
}'

Performs an incremental sync from the source container to this container. Only works for containers that were created via the copy operation. The sync runs asynchronously.

NameInTypeRequiredDescription
idpathstringYesUnique identifier of the container to sync (must have been created via copy)

This endpoint takes no request body.

Terminal window
curl -X POST "https://api.hoody.com/api/v1/containers/507f1f77bcf86cd799439099/sync" \
-H "Authorization: Bearer <token>"