POST
/
landscapes
/
{landscapeId}
/
duplicate
curl --request POST \
  --url https://api.icepanel.io/v1/landscapes/{landscapeId}/duplicate \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "scheduledVersions": true
}'
{
  "landscape": {
    "name": "<string>",
    "scheduledVersions": true,
    "organizationId": "<string>",
    "createdAt": "2023-11-07T05:31:56Z",
    "createdBy": "user",
    "createdById": "<string>",
    "id": "<string>",
    "updatedAt": "2023-11-07T05:31:56Z",
    "updatedBy": "user",
    "updatedById": "<string>"
  }
}

Headers

Authorization
string
required

Path Parameters

landscapeId
string
required

Query Parameters

targetOrganizationId
string

Body

application/json
name
string
required
scheduledVersions
boolean

Response

200
application/json
OK
landscape
object
required