Information Classification: External Restricted.
See https://www.chili-publish.com/security
POST - system/environments/{environmentName}/copy
Copies an existing environment. A new environment is created and all files are copied
URI
system/environments/{environmentName}/copy |
HTTP Method
Post
Request parameters
Name |
Location |
Type |
Description |
---|---|---|---|
API-KEY |
http header |
The API key previously generated by calling the GenerateApiKey function |
|
environmentName |
uri |
The name of the the environment to copy |
|
newName |
query |
The name of the new environment. The new environment cannot exist when copying |
HTTP Return Status
Created
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
All information on this page must be treated as External Restricted, or more strict. https://www.chili-publish.com/security