Back to API references

SOAP API method WebSite_copy

Description

Copy a website, with all its pages

Parameters

Name Type Description
id * int Unique identifier (id) of the object WebSite. The method only applies to the website with this id.
name * string Name of the new website
login Structure of type 'login' Optional login data (soon deprecated)
access_token string Optional api access token
* required parameters

Return values

Name Type Description
website Structure of type 'website'

Structure 'login'

Name Type Description
username string The username of the login attempt
account string The account name of the login attempt
password string The password for the login attempt

Structure 'website'

Name Type Description
id int The ID of the website.
name string The name of the website.
created timestamp The date and time when the website was created.
description string The description of the website.
sessionTimeout int Get the session timeout, in minutes.
forceHttps boolean Get whether this website can use only https