function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
jadentifyjadentify 

Determine if API is Enabled

Is there a way in APEX to determine if the API is enabled for the org?

The KnightThe Knight

Select p.PermissionsApiEnabled From Profile p

 

This will determine the API acces for specified profile. The API access is available  for all the orgs(EE, unlimited and developer Editions).