v4
latestOpenAPI 3.1.02026-08-02261331761.5 KBCopy Environment Async
Copy environment
This endpoint either duplicates an existing environment to a new environment in the same project, or copies from an existing environment to another existing environment.
The scope object controls which objects will be copied to the target environment.
To clone to a new environment, the user must have write permissions to the containing project. To clone into an existing environment, the user must have write permissions to the target environment.
Copying environments across projects or organizations is not allowed.
Path parameters
Either the unique id of the project, or the URL-friendly key of the project (i.e: the "slug").
Either the unique id of the project, or the URL-friendly key of the project (i.e: the "slug").
Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the "slug").
Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the "slug").
Query parameters
Time in seconds to wait for the task to complete. Default is 0, means no wait.
Time in seconds to wait for the task to complete. Default is 0, means no wait.
Request body
Response
Successful Response