If you are talking about application monitoring (RUM) you have to go to your application => edit => advanced settings. There you can create injection rule that may not inject JS on particular Uris. In such case you will not have JS injected where it may produce issues.
If you are talking about excluding particular service calls from monitoring you can go to Settings => Server side & service monitoring => Deep monitoring => Exclude specific incoming request URI’s and they will not show up in dynatrace services. But this will not change that whole process is instrumented and data will be collected by agent. They will be only filtered during storing in DT Server.
on iOS you can exclude URLs from monitoring by adding filter rules to the Info.plist - see example below
<!-- URL regex is also allowed -->