---
title: "Import a resource model"
method: POST
path: "/lifecycle-manager/resources/import"
tags: ["Lifecycle Manager"]
---

# Import a resource model

`POST /lifecycle-manager/resources/import`

## Request

- Base URL: `https://example.itential.io`
- URL: `https://example.itential.io/lifecycle-manager/resources/import`
- Auth: none declared

Imports a resource model.

## Request body

- LifecycleManagerResourceModelImport
  - `model` LifecycleManagerResourceModelImportModel, required
    - `_id` unknown, required
    - `name` string, required: The name of the resource model
    - `description` string, required: Free-form text describing the resource model
    - `schema` unknown, required
    - `actions` LifecycleManagerResourceModelImportModelActionsItems[]
      - `_id` unknown
      - `name` string: The name of the action
      - `type` 'import' | 'create' | 'update' | 'delete': The type of the action
      - `preWorkflowJst` string, nullable: Optional transformation to be applied to incoming parameters before providing them to the workflow.
      - `workflow` string, nullable: The name of the workflow to use as the implementation of this action.
      - `postWorkflowJst` string, nullable: Optional transformation to be applied to the workflow's outputs before updating the instance.
    - `created` unknown, required
    - `createdBy` unknown, required
    - `lastUpdated` unknown, required
    - `lastUpdatedBy` unknown, required
  - `overwrite` boolean

## Response `200`

response

- LifecycleManagerImportResourceModelHttpResponse200
  - `data` LifecycleManagerResourcesImportPostResponsesContentApplicationJsonSchemaData
    - `_id` string: A MongoDB ObjectId
    - `name` string: The name of the resource model

## Other responses

- `500`: Error response from API

## Changes

- **2026-10-31** `2095cc90e583`: 2 info
  - api tag `Lifecycle Manager` added
  - api tag `lifecycleManager` removed

[Operation history](https://skmtc.dev/itential/apis/itential-2/changes/lifecycle-manager/resources/import/post.md)

---

[API](https://skmtc.dev/itential/apis/itential-2.md) - [All operations](https://skmtc.dev/itential/apis/itential-2/llms.txt) - [OpenAPI document](https://skmtc.dev/itential/apis/itential-2/revisions/2095cc90e583?raw)
