---
title: "Changes to Update access token for a connection (when tokens expire or are rotated)"
method: POST
path: "/git-connections/{connection_id}/update-token"
---

# Changes to Update access token for a connection (when tokens expire or are rotated)

`POST /git-connections/{connection_id}/update-token`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 8 of 383 revisions.

- **2026-10-23** `7d41b820a372`: 3 breaking, 1 info
- **2026-10-23** `24af93ff5379`: 2 breaking, 2 info
- **2026-10-22** `842d42ed4659`: 3 breaking, 1 info
- **2026-10-22** `1a12a50b75ee`: 2 breaking, 2 info
- **2026-10-21** `79089e9f49ee`: 3 breaking, 1 info
- **2026-09-07** `38e97c3c35dd`: 3 info
- **2026-09-07** `f7404eb7ac98`: 3 info
- **2026-08-11** `7493127fec25`: 3 info

## Changes

- **2026-10-23** `7d41b820a372`: 3 breaking, 1 info
  - the request property `refresh_token` became not nullable
  - the `access_token` request property format changed from no format to `password`
  - the `refresh_token` request property type changed from `string, null` to no type
  - added `#/components/schemas/SecretString, subschema #2` to the `refresh_token` request property `oneOf` list
- **2026-10-23** `24af93ff5379`: 2 breaking, 2 info
  - removed `#/components/schemas/SecretString, subschema #2` from the `refresh_token` request property `oneOf` list
  - the `refresh_token` request property type changed from no type to `string, null`
  - the request property `refresh_token` became nullable
  - the `access_token` request property format was generalized from `password` to no format
- **2026-10-22** `842d42ed4659`: 3 breaking, 1 info
  - the request property `refresh_token` became not nullable
  - the `access_token` request property format changed from no format to `password`
  - the `refresh_token` request property type changed from `string, null` to no type
  - added `#/components/schemas/SecretString, subschema #2` to the `refresh_token` request property `oneOf` list
- **2026-10-22** `1a12a50b75ee`: 2 breaking, 2 info
  - removed `#/components/schemas/SecretString, subschema #2` from the `refresh_token` request property `oneOf` list
  - the `refresh_token` request property type changed from no type to `string, null`
  - the request property `refresh_token` became nullable
  - the `access_token` request property format was generalized from `password` to no format
- **2026-10-21** `79089e9f49ee`: 3 breaking, 1 info
  - the request property `refresh_token` became not nullable
  - the `access_token` request property format changed from no format to `password`
  - the `refresh_token` request property type changed from `string, null` to no type
  - added `#/components/schemas/SecretString, subschema #2` to the `refresh_token` request property `oneOf` list
- **2026-09-07** `38e97c3c35dd`: 3 info
  - added the non-success response with the status `400`
  - added the non-success response with the status `403`
  - added the non-success response with the status `429`
- **2026-09-07** `f7404eb7ac98`: 3 info
  - removed the non-success response with the status `400`
  - removed the non-success response with the status `403`
  - removed the non-success response with the status `429`
- **2026-08-11** `7493127fec25`: 3 info
  - added the non-success response with the status `400`
  - added the non-success response with the status `403`
  - added the non-success response with the status `429`

---

[Operation](https://skmtc.dev/gotempsh/apis/temps/docs/git-connections/:connection_id/update-token/post.md) - [API](https://skmtc.dev/gotempsh/apis/temps.md) - [Page](https://skmtc.dev/gotempsh/apis/temps/changes/git-connections/:connection_id/update-token/post)
