I have followed these steps to create some custom managed content types for my organization. It seems like the delete request needs an ID of the record to be deleted via the tooling API, which makes sense. However, the managedContentType metadata type doesn't support being queried with SOQL. My question is, how do I retrieve the IDs of the existing managedContentType records in the system so I can delete previous versions that should no longer be used?


You can get ManagedContentType Id From workbench.

  1. go to: Info > Metadata Types & Components
  2. choose "ManagedContentType" from the dropdown list

All ManagedContentTypes components will be displayed under "Components".

3.Select your specific ManagedContentType to get it's Id.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.