Harthelm Docs

Disconnect a Git provider

Deletes the caller's stored tokens for the provider. Workspaces the caller owns can no longer clone or push through the git proxy until the caller connects again.

Generated from openapi/harthelm.yaml at v1.5.0
DELETE
/git/providers/{provider}/connection

Authorization

cookie__Host-harthelm_session<token>

Browser session of the UI (12 h idle, 7 days absolute). State-changing requests also need the header Harthelm-CSRF: 1 and a matching Origin.

Path Parameters

provider*string

Provider id from GET /git/providers.

Match^[a-z][a-z0-9-]{0,30}$

Response Body

Disconnected.

curl -X DELETE 'https://console.example.com/api/v1/git/providers/string/connection'
Empty