---
title: "Delete a resource model"
method: DELETE
path: "/lifecycle-manager/resources/{id}"
tags: ["Lifecycle Manager"]
---

# Delete a resource model

`DELETE /lifecycle-manager/resources/{id}`

## Request

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

A resource model will not be deleted if it has associated instances. To override this behavior and delete the resource model along with any associated instances, set the 'delete-associated-instances' flag to 'true'.

## Path parameters

- `id` string, required: A MongoDB ObjectId

## Request body

- object
  - `queryParameters` LifecycleManagerResourcesIdDeleteRequestBodyContentApplicationJsonSchemaQueryParameters
    - `delete-associated-instances` string: If set to 'true', the resource model and any of its associated instances will be deleted.

## Response `200`

response

- union
  - LifecycleManagerCommonHttpResponse0: A success response from an API method
    - `message` string, required: A human-readable message summarizing the result of the operation
    - `data` unknown, required
    - `metadata` object, required: Any structured, wordy or machine-readable information related to the result of the operation. For success responses, this may contain information like pagination values from a search operation.
  - LifecycleManagerCommonHttpResponse1: A failure response from an API method
    - `message` string, required: A human-readable message summarizing the result of the operation
    - `data` unknown, required
    - `metadata` LifecycleManagerCommonHttpResponseOneOf1Metadata, required: Any structured, wordy or machine-readable information related to the result of the operation. For error responses, this will always at least contain an 'errors' array, even if it is empty.
      - `errors` unknown[]
        - unknown

## 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/:id/delete.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)
