Skip to main content
POST
/
organizations
/
{organizationId}
/
landscapes
Create
curl --request POST \
  --url https://api.icepanel.io/v1/organizations/{organizationId}/landscapes \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "scheduledVersions": true,
  "templateId": "<string>"
}
'
{
  "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>"
  },
  "version": {
    "modelHandleId": "<string>",
    "name": "<string>",
    "notes": "<string>",
    "createdAt": "2023-11-07T05:31:56Z",
    "createdBy": "user",
    "createdById": "<string>",
    "diagramHandleIds": [
      "<string>"
    ],
    "id": "<string>",
    "landscapeId": "<string>",
    "tags": [
      "<string>"
    ],
    "updatedAt": "2023-11-07T05:31:56Z",
    "updatedBy": "user",
    "updatedById": "<string>",
    "completedAt": "2023-11-07T05:31:56Z"
  }
}

Headers

Authorization
string
required

Path Parameters

organizationId
string
required

Body

application/json
name
string
required
scheduledVersions
boolean
templateId
string

Response

OK

landscape
object
required
version
object
required