src extsvc edit

Flags

NameDescriptionDefault Value
-dump-requestsLog GraphQL requests and responses to stdoutfalse
-exclude-reposwhen specified, add these repositories to the exclusion list
-get-curlPrint the curl command for executing this query and exit (WARNING: includes printing your access token!)false
-idID of the external service to edit
-insecure-skip-verifySkip validation of TLS certificates against trusted chainsfalse
-nameexact name of the external service to edit
-renamewhen specified, renames the external service
-traceLog the trace ID for requests. See docsfalse
-user-agent-telemetryInclude the operating system and architecture in the User-Agent sent with requests to Sourcegraphtrue

Usage

SHELL
Usage of 'src extsvc edit': -dump-requests Log GraphQL requests and responses to stdout -exclude-repos string when specified, add these repositories to the exclusion list -get-curl Print the curl command for executing this query and exit (WARNING: includes printing your access token!) -id string ID of the external service to edit -insecure-skip-verify Skip validation of TLS certificates against trusted chains -name string exact name of the external service to edit -rename string when specified, renames the external service -trace Log the trace ID for requests. See https://sourcegraph.com/docs/admin/observability/tracing -user-agent-telemetry Include the operating system and architecture in the User-Agent sent with requests to Sourcegraph (default true) Examples: Edit an external service configuration on the Sourcegraph instance: $ cat new-config.json | src extsvc edit -id 'RXh0ZXJuYWxTZXJ2aWNlOjQ=' $ src extsvc edit -name 'My GitHub connection' new-config.json Edit an external service name on the Sourcegraph instance: $ src extsvc edit -name 'My GitHub connection' -rename 'New name' Add some repositories to the exclusion list of the external service: $ src extsvc edit -name 'My GitHub connection' -exclude-repos 'github.com/foo/one' 'github.com/foo/two'