REST APIGit
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.0DELETE
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.
provider*stringProvider id from GET /git/providers.
Match
^[a-z][a-z0-9-]{0,30}$Disconnected.
curl -X DELETE 'https://console.example.com/api/v1/git/providers/string/connection'Empty
Allow a repository
Editors and admins may add repositories they can read at the provider (checked through the provider API with the caller's connection); `write` needs push permission there. Adding an existing entry again changes its access.
Branch, commit and changes of /data/app
Read by the IDE agent. Needs `workspace.view`; 409 when the IDE does not run.