Source: https://manu-tests-all-orgs.docs-staging.pageloop.ai/mcp-tools/custom-objects/object-type-management/discard-object-type-draft

# discardObjectTypeDraft

Discard the active DRAFT for an object type.

Deletes the active draft version row. Behavior depends on the object type's publish status:

- **NEVER\_PUBLISHED:** Deletes the DRAFT row, hard-deletes all sections, and soft-deletes
  the object type row — effectively removing a type that was never made visible to users.

## Parameters

| Name           | Type    | Required | Description                               |
| -------------- | ------- | -------- | ----------------------------------------- |
| `objectTypeId` | integer | Yes      | The object type ID (from listObjectTypes) |
