Clones a specified laboratory to a designated environment. You can specify whether to clone the experiment groups within the laboratory.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
pairec:CloneLaboratory |
none |
*All Resource
|
None | None |
Request syntax
POST /api/v1/laboratories/{LaboratoryId}/action/clone HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| LaboratoryId |
string |
Yes |
The laboratory ID. To obtain this ID, call the |
3 |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| body |
object |
No |
The request body. |
|
| InstanceId |
string |
Yes |
The instance ID. To obtain this ID, call the |
pairec-cn-abcdefg1234 |
| Environment |
string |
Yes |
The destination environment. Valid values: Daily, Pre (pre-release), and Prod (production). |
Daily |
| CloneExperimentGroup |
boolean |
Yes |
Specifies whether to clone the experiment groups. |
true |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response schema. |
||
| RequestId |
string |
The request ID. |
01D22D08-BA20-5F35-8302-99115F288220 |
| LaboratoryId |
string |
The ID of the cloned laboratory. |
3 |
Examples
Success response
JSON format
{
"RequestId": "01D22D08-BA20-5F35-8302-99115F288220",
"LaboratoryId": "3"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.