---
title: "delete config object"
method: POST
path: "/v1/config-objects/{configObjectId}/delete"
tags: ["Config Objects"]
---

# delete config object

`POST /v1/config-objects/{configObjectId}/delete`

delete a config object without removing its history.

## Path parameters

- `configObjectId` string, typeid, required

## Response `200`

Config object lifecycle updated successfully.

- PluginArchConfigObjectMutationResponse
  - `ok` true, required
  - `item` PluginArchConfigObject, required
    - `id` string, typeid, required — Den TypeID with 'cob_' prefix and a 26-character base32 suffix.
    - `organizationId` string, typeid, required — Den TypeID with 'org_' prefix and a 26-character base32 suffix.
    - `objectType` 'skill' | 'agent' | 'command' | 'tool' | 'mcp' | 'hook' | 'context' | 'custom' | 'script' | 'workflow' | 'app', required
    - `sourceMode` 'cloud' | 'import' | 'connector', required
    - `title` string, required
    - `description` string, nullable, required
    - `searchText` string, nullable, required
    - `currentFileName` string, nullable, required
    - `currentFileExtension` string, nullable, required
    - `currentRelativePath` string, nullable, required
    - `status` 'active' | 'inactive' | 'deleted' | 'archived' | 'ingestion_error', required
    - `createdByOrgMembershipId` string, typeid, required — Den TypeID with 'om_' prefix and a 26-character base32 suffix.
    - `connectorInstanceId` string, typeid, nullable, required — Den TypeID with 'cin_' prefix and a 26-character base32 suffix.
    - `createdAt` string, date-time, required
    - `updatedAt` string, date-time, required
    - `deletedAt` string, date-time, nullable, required
    - `latestVersion` PluginArchConfigObjectVersion, required
      - `id` string, typeid, required — Den TypeID with 'cov_' prefix and a 26-character base32 suffix.
      - `configObjectId` string, typeid, required — Den TypeID with 'cob_' prefix and a 26-character base32 suffix.
      - `schemaVersion` string, nullable, required
      - `normalizedPayloadJson` object, nullable, required
      - `rawSourceText` string, nullable, required
      - `createdVia` 'cloud' | 'import' | 'connector' | 'system', required
      - `createdByOrgMembershipId` string, typeid, nullable, required — Den TypeID with 'om_' prefix and a 26-character base32 suffix.
      - `connectorSyncEventId` string, typeid, nullable, required — Den TypeID with 'cse_' prefix and a 26-character base32 suffix.
      - `sourceRevisionRef` string, nullable, required
      - `isDeletedVersion` boolean, required
      - `createdAt` string, date-time, required

## Other responses

- `400` — The lifecycle path parameters were invalid.
- `401` — The caller must be signed in to manage config objects.
- `403` — The caller lacks permission to manage this config object.
- `404` — The config object could not be found.

## Changes

- **2026-08-20** `93df40e2efd5` — 1 warning, 9 info
  - added the new `workflow` enum value to the `item/objectType` response property for the response status `200`
  - removed the pattern `^cob_.*` from the `path` request parameter `configObjectId`
  - the `item/connectorInstanceId/anyOf[subschema #1]/` response's property pattern `^cin_.*` was removed for the status `200`
  - the `item/createdByOrgMembershipId` response's property pattern `^om_.*` was removed for the status `200`
  - …6 more
- **2026-08-14** `6915dfb03e5d` — 1 warning
  - added the new `app` enum value to the `item/objectType` response property for the response status `200`
- **2026-08-10** `54cdbd4ecffa` — 1 warning
  - added the new `script` enum value to the `item/objectType` response property for the response status `200`

[Change history](https://skmtc.dev/openworklabs/apis/den-api/changes/v1/config-objects/:configObjectId/delete/post.md)

---

[API](https://skmtc.dev/openworklabs/apis/den-api.md) · [All operations](https://skmtc.dev/openworklabs/apis/den-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/openworklabs/den-api/revisions/571dc4a74532/schema)
