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
arsaniketsharmaarsaniketsharma 

how to disable trigger using tooling api

Hi team,
I created apex class and apex trigger using tooling api but now i want to disable(Status=inactive) the trigger using tooling api.
I searched and found that i will need to use metadatacontainer to do the same but i am unable to do the task.
i am not getting the apexclassid on which trigger is fired.
NagendraNagendra (Salesforce Developers) 
Hi Sharma,

Sorry for this issue you are facing.

May I suggest you please refer to below link with a similar discussion which might help you. Hope this helps.

Kindly mark this as solved if the reply was helpful.

Thanks,
Nagendra