Import

Create a background job that imports a landscape from JSON format.

The JSONSchema can be accessed at api.icepanel.io/v1/schemas/LandscapeImportData for automations or using LLMs for generation.

Authentication

X-API-Keystring
API key authentication
OR
AuthorizationBearer
Bearer token authentication

Path parameters

landscapeIdstringRequired
versionIdstringRequired

Query parameters

prunebooleanOptional
When enabled, entities that are missing from the import will be deleted.

Request

This endpoint expects an object.
modelConnectionslist of objectsOptional
modelObjectslist of objectsOptional
namespacestringOptional
The namespace of the import, used for seperate operations when using multiple import sources
tagGroupslist of objectsOptional
tagslist of objectsOptional

Response

OK
landscapeImportobject

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
422
Unprocessable Entity Error
500
Internal Server Error