Cannot delete record type through APIIf you try to delete a Record Type with Copado using for example the destructive changes feature, the Delete Metadata step in the deployment record will fail with the error below:
"objects/ObjectName.object (ObjectName.RecordTypeName) -- Error: Cannot delete record type through API"
This is a limitation of the Metadata API. If you build a destructive changes zipped folder to delete the same record type using workbench you will get the same result. You can follow the instructions on the documentation below to build the files to include in the zipped folder.
Deleting Components from an Organization
This is the error returned by workbench when trying to delete an Account Record Type: