Home / Servers / GitHub API / orgs_update_pat_access

Update the access a fine-grained personal access token has to organization resou

An MCP tool from the GitHub API server, hosted on mcp.hjlabs.in.

Update the access a fine-grained personal access token has to organization resources Updates the access an organization member has to organization resources via a fine-grained personal access token. Limited to revoking the token's existing access. Limited to revoking a token's… [POST /orgs/{org}/personal-access-tokens/{pat_id}]

Name on the gateway: github_api__orgs_update_pat_access · may change things.

Parameters

NameTypeDescription
org requiredstringThe organization name. The name is not case sensitive.
pat_id requiredintegerThe unique identifier of the fine-grained personal access…
action requiredrevokeAction to apply to the fine-grained personal access token.

How to call it

Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:

call_tool arguments
{
  "name": "github_api__orgs_update_pat_access",
  "arguments": {
    "org": "…",
    "pat_id": 0,
    "action": "…"
  }
}

Or connect the GitHub API server directly, which lists 1,221 tools including this one:

Run in your terminal
claude mcp add --transport http hj-github-api https://mcp.hjlabs.in/mcp/github-api \
  --header "Authorization: Bearer YOUR_API_KEY"

Try asking

Use the update the access a fine-grained personal access token has to organization resou tool with org set to ….

More from GitHub API