---
title: "Set Github Login"
method: PATCH
path: "/gtm-internal/guides/me"
tags: ["gtm-internal"]
---

# Set Github Login

`PATCH /gtm-internal/guides/me`

## Request

- Base URL: `https://api-v1.unusual.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api-v1.unusual.ai/gtm-internal/guides/me`
- Auth: OAuth 2
  - Password
  - Token URL: `/auth/login`

Link an internal user's GitHub login (``internal_user_id``, default the
caller). Admins only, the caller's own included: merge rights follow the
login's team membership, so a person typing in a merge-team member's login
would otherwise grant themselves merge.

## Request body

- SetGithubLoginRequest
  - `github_login` string, nullable
  - `internal_user_id` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/unusual/apis/dashboard-server.md) - [All operations](https://skmtc.dev/unusual/apis/dashboard-server/llms.txt) - [OpenAPI document](https://skmtc.dev/unusual/apis/dashboard-server/revisions/89f716930ead?raw)
