Git Provider Connections

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

post/git-connections/{connection_id}/update-token

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}/update-token
  • Auth: HTTP bearer

Path parameters

connection_idinteger required

Connection ID

Request body

access_tokenstring required
refresh_tokenstring nullable

Response

Token updated successfully

connection_idinteger required
is_activeboolean required
messagestring required

Changes

No recorded changes to this operation across all 50 revisions of this API.