---
title: "POST /git-connections/{connection_id}/reauthorize"
method: POST
path: "/git-connections/{connection_id}/reauthorize"
tags: ["Git Providers"]
---

# POST /git-connections/{connection_id}/reauthorize

`POST /git-connections/{connection_id}/reauthorize`

## Request

- Base URL: `/api` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/git-connections/{connection_id}/reauthorize`
- Auth: HTTP bearer

## Path parameters

- `connection_id` integer, required

## Response `200`

OAuth authorization URL

- ReauthorizationResponse
  - `authorization_url` string, required

## Other responses

- `400`: Not an OAuth connection or provider misconfigured
- `401`: Authentication required
- `403`: Permission denied
- `404`: Connection missing or inaccessible
- `428`: Recent MFA verification required
- `500`: Internal error

## Changes

- **2026-11-03** `54ac461aec46`: 1 breaking, 1 info
  - api path removed without deprecation
  - endpoint added
- **2026-11-03** `fcfcfae25744`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/gotempsh/apis/temps/changes/git-connections/:connection_id/reauthorize/post.md)

---

[API](https://skmtc.dev/gotempsh/apis/temps.md) - [All operations](https://skmtc.dev/gotempsh/apis/temps/llms.txt) - [OpenAPI document](https://skmtc.dev/gotempsh/apis/temps/revisions/3b040526eb43?raw)
