Information Classification: External Restricted.
See https://www.chili-publish.com/security
Webservice Functions - EnvironmentCopy
Copies an existing environment. A new environment is created and all files are copied
Declaration
public string EnvironmentCopy ( string apiKey, string environmentName, string newName );
Arguments
Name | Type | Description |
|---|---|---|
apiKey | The API key previously generated by calling the GenerateApiKey function | |
environmentName | The name of the the environment to copy | |
newName | The name of the new environment. The new environment cannot exist when copying |
Returns
Copying an environment is executed asynchronously. A task XML is returned, and onde the task is finished, the result attribute of this XML will contain a description of the performed task
An XML string describing the created task, containing its ID and other information.
Security rights needed
Add
Apply on resource
Environments