# Update Broker Token

{% hint style="warning" %}
This section applies **only to on-premises Mobb deployments** where the [Mobb Broker](/mobb-user-docs/more-info/mobb-broker.md) is used to connect to a self-hosted source code management (SCM) system.
{% endhint %}

When Mobb is deployed on-premises and connects to a self-hosted SCM through the Mobb Broker, it requires a valid SCM credential (typically a Personal Access Token) to authenticate against that SCM. Over time, these tokens may expire, be rotated for security reasons, or need to be replaced.

This section covers how to update the SCM credential for each supported on-premises SCM platform and authentication method:

**GitLab Server**

* [GitLab Server — PAT](/mobb-user-docs/more-info/update-broker-token/gitlab-server-pat.md)
* [GitLab Server — OAuth](/mobb-user-docs/more-info/update-broker-token/gitlab-server-oauth.md)

**GitHub Enterprise Server**

* [GitHub Enterprise Server — PAT](/mobb-user-docs/more-info/update-broker-token/github-enterprise-server-pat.md)
* [GitHub Enterprise Server — OAuth](/mobb-user-docs/more-info/update-broker-token/github-enterprise-server-oauth.md)

**Azure DevOps Server**

* [Azure DevOps Server — PAT](/mobb-user-docs/more-info/update-broker-token/azure-devops-server-pat.md)


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.mobb.ai/mobb-user-docs/more-info/update-broker-token.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
