Delete a custom field
sf_delete_custom_fieldDelete a Salesforce custom field by its Tooling API Id (00N...). Obtain the Id via sf_list_custom_fields; then remove the field when MC_NEXT_ALLOW_METADATA_CHANGES is enabled.
Instructions
Delete a custom field via the Tooling API (DELETE /tooling/sobjects/CustomField/{id}). Requires the field's Tooling API Id — find it with sf_list_custom_fields. Gated behind MC_NEXT_ALLOW_METADATA_CHANGES=true.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fieldId | Yes | The Tooling API Id of the CustomField record (starts with 00N). |