Delete a custom object
sf_delete_custom_objectDelete a Salesforce custom object and its data via Tooling API. Provide the object's Tooling API Id to permanently remove it.
Instructions
Delete a custom object via the Tooling API (DELETE /tooling/sobjects/CustomObject/{id}). Requires the object's Tooling API Id — find it with sf_list_custom_objects. This removes the object and its data. Gated behind MC_NEXT_ALLOW_METADATA_CHANGES=true.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| objectId | Yes | The Tooling API Id of the CustomObject record (starts with 01I). |