v1
latestOpenAPI 3.0.02026-07-14198572488.4 KBSites
Clone a site (via background task)
Creates a new site using all the contents, plugins, themes, etc from an existing site. The site's URL will be a new temporary URL
post/v1/sites/{id}/clone
Path parameters
idinteger required
Request body
Example request
{
"label": "agencypartner1::site1::abcd",
"metadata": {
"key": "value"
},
"template_replacements": [
{
"key": "__contact_email__",
"value": "hello@rocket.net"
}
]
}Response
OK
Example response
{
"success": true,
"errors": [],
"messages": [],
"result": {
"task_level": "account"
}
}