title: is it possible to block users from using api operations in azure api management?
body: <p>I wrote below code for blocking user from group dev, from using an api operation. I would like to know if there is a method for blocking users in a group from accessing a particular method like put, delete and only allow user from a group to use get method?</p>
  <pre><code>&lt;choose&gt;
      &lt;when condition=&quot;@(context.User.Groups.Any(g =&gt; g.Name == &quot;dev&quot;))&quot;&gt;
          &lt;return-response&gt;
              &lt;set-status code=&quot;403&quot; reason=&quot;Unauthorized&quot; /&gt;
              &lt;set-body&gt;Users in group dev do not have access to this method.&lt;/set-body&gt;
          &lt;/return-response&gt;
      &lt;/when&gt;
  &lt;/choose&gt;
  </code></pre>