# How to disable Jenkins CLI

**URL:** <https://community.jenkins.io/t/how-to-disable-jenkins-cli/12618>\
**Category:** Ask a question\
**Created:** [February 20, 2024, 12:24pm UTC](https://community.jenkins.io/t/how-to-disable-jenkins-cli/12618 "2024-02-20T12:24:05Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![harsha\_987](https://avatars.discourse-cdn.com/v4/letter/h/a4c791/32.png) [@harsha\_987](https://community.jenkins.io/u/harsha_987)\
**Post date:** [February 20, 2024, 12:24pm UTC](https://community.jenkins.io/t/how-to-disable-jenkins-cli/12618/1 "2024-02-20T12:24:05Z")

</div>

Hey all,

I have been trying to disble Jenkins CLI and came across a solution ([SECURITY-3314-3315/disable-cli.groovy at c03dab221a7359ef2d28e76b1e945145deb607bf · jenkinsci-cert/SECURITY-3314-3315 · GitHub](https://github.com/jenkinsci-cert/SECURITY-3314-3315/blob/c03dab221a7359ef2d28e76b1e945145deb607bf/disable-cli.groovy)).  
But this solution is showing extra errors which are red flags for our usage.

Is there any other way to disable Jenkins CLI instead of using groovy.

Thanks in advance,  
Harsha
