gitpod.v1.RunnerConfigurationService

UpdateSCMIntegration

UpdateSCMIntegration updates an existing SCM integration on a runner.

post/gitpod.v1.RunnerConfigurationService/UpdateSCMIntegration

Request body

idstring uuid
oauthClientIdstring nullable

oauth_client_id can be set to update the OAuth app's client ID. If an empty string is set, the OAuth configuration will be removed (regardless of whether a client secret is set), and any existing Host Authentication Tokens for the SCM integration's runner and host that were created using the OAuth app will be deleted. This might lead to users being unable to access their repositories until they re-authenticate.

oauthPlaintextClientSecretstring nullable

oauth_plaintext_client_secret can be set to update the OAuth app's client secret. The cleartext secret will be encrypted with the runner's public key before being stored.

patboolean nullable

pat can be set to enable or disable Personal Access Tokens support. When disabling PATs, any existing Host Authentication Tokens for the SCM integration's runner and host that were created using a PAT will be deleted. This might lead to users being unable to access their repositories until they re-authenticate.

Response

Success

GitpodV1UpdateSCMIntegrationResponse required

Changes