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

# Create a new resource model

`POST /lifecycle-manager/resources`

## Request

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

Creates a new resource model.

## Request body

- LifecycleManagerResourceModelCreateData
  - `name` string, required: The name of the resource model
  - `description` string: Free-form text describing the resource model
  - `schema` unknown
  - `actions` LifecycleManagerResourceModelCreateDataActionsItems[]
    - `_id` unknown
    - `name` string, required: The name of the action
    - `description` string: Free-form text describing the purpose of the action
    - `type` 'create' | 'update' | 'delete', required: The type of the action
    - `preWorkflowJst` string, nullable, required: Optional transformation to be applied to incoming parameters before providing them to the workflow.
    - `postWorkflowJst` string, nullable, required: Optional transformation to be applied to the workflow's outputs before updating the instance.
    - `workflow` union, required: The _id of the workflow to use as the implementation of this action. If the asset cannot be found during import the name is used in place of the _id
      - unknown
      - string

## Response `200`

response

- LifecycleManagerCreateResourceModelHttpResponse200
  - `data` LifecycleManagerResourceModelHttp
    - `_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` LifecycleManagerResourceModelHttpActionsItems[]
      - `_id` unknown, required
      - `name` string, required: The name of the action
      - `description` string: Free-form text describing the purpose of the action
      - `type` 'create' | 'update' | 'delete', required: The type of the action
      - `preWorkflowJst` string, nullable, required: Optional transformation to be applied to incoming parameters before providing them to the workflow.
      - `postWorkflowJst` string, nullable, required: Optional transformation to be applied to the workflow's outputs before updating the instance.
      - `inputSchema` LifecycleManagerResourceModelHttpActionsItemsInputSchema: The schema describing inputs to this action
      - `outputSchema` LifecycleManagerResourceModelHttpActionsItemsOutputSchema: The schema describing inputs to this action
    - `created` unknown, required
    - `createdBy` unknown, required
    - `lastUpdated` unknown, required
    - `lastUpdatedBy` unknown, required

## 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/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)
