src orgs members remove

removes a user as a member from an organization.

Examples:

Remove a member (alice) from an organization (abc-org):

$ src orgs members remove -org-id=$(src org get -f '{{.ID}}' -name=abc-org) -user-id=$(src users get -f '{{.ID}}' -username=alice)

Usage

SH
$ src orgs members remove [options]

Flags

NameDescriptionDefault Value
--dump-requestsLog GraphQL requests and responses to stdoutfalse
--get-curlPrint the curl command for executing this query and exit (WARNING: includes printing your access token!)false
--insecure-skip-verifySkip validation of TLS certificates against trusted chainsfalse
--org-idID of organization from which to remove member. (required)``
--traceLog the trace ID for requests. See https://docs.sourcegraph.com/admin/observability/tracingfalse
--user-agent-telemetryInclude the operating system and architecture in the User-Agent sent with requests to Sourcegraphtrue
--user-idID of user to remove as member. (required)``