> For the complete documentation index, see [llms.txt](https://help.security.gallagher.com/knowledge-hub/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.security.gallagher.com/knowledge-hub/configuration-client/site-management/service-principals/disabling-a-service-principal.md).

# Disabling a Service Principal

### Introduction

Disabling a Service Principal stops it from giving any process or service access to Command Centre. The Service Principal is not deleted, and you can re-enable it at any time to restore its privileges. Disabling is a quick way to revoke access if a process or service is no longer needed, or if you think its identity has been compromised.

An operator wishing to disable or enable a Service Principal must have the "Edit Operators" privilege in the Service Principal's Division.

### Procedure

1. Click **Manage** from the menu bar, then **Service Principals**.

   The **Service Principal** List Window opens (in [grid view](https://help.security.gallagher.com/knowledge-hub/configuration-client/introduction-to-command-centre/knowing-your-way-around/list-windows/grid-view.md)).
2. Locate, and highlight, the Service Principal you want to disable.
3. Right-click it and select **Properties**.
4. Click the **Configuration** tab.

   ![](https://3000903572-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfCvaxj3suxNBzdwQndVT%2Fuploads%2Fgit-blob-a33df00c36bc52a79f33695b3e60822374d0e280%2F44900.png?alt=media)

   Deselect the **Enable Service Principal** check box.

   **Note:** To enable the Service Principal again, select the ‘Enable Service Principal’ check box at any time.
5. Click **OK** to exit and save your changes.

   Click **Cancel** to exit without saving your changes.

   Click **Apply** to save your changes and stay in this window.

### Result

The Service Principal is disabled. Any process or service that uses it, such as a REST Client with this Service Principal as its REST Client Operator, can no longer access Command Centre until you enable it again.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://help.security.gallagher.com/knowledge-hub/configuration-client/site-management/service-principals/disabling-a-service-principal.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
