v1

latestOpenAPI 3.1.02026-07-241280174.1 KB

Clone

Create a new branch config by cloning another. This duplicates a branch config and all its secrets.

post/v3/configs/config/clone

Request body

projectstring required

Unique identifier for the project object.

configstring required

Name of the branch config being cloned.

namestring required

Name of the new branch config.

Response

200

Example response

{
  "config": {
    "name": "prd_aws",
    "initial_fetch_at": "2019-11-19T07:32:12.000Z",
    "last_fetch_at": "2019-11-19T07:36:10.980Z",
    "created_at": "2019-11-19T07:19:00.480Z",
    "environment": "prd",
    "project": "ed0c2a68b6"
  }
}