agentuity avatar

agentuity-cli-git-account-remove

Remove a GitHub account from your organization. Requires authentication

提供方 agentuity|开源

Git Account Remove

Remove a GitHub account from your organization

Prerequisites

  • Authenticated with agentuity auth login

Usage

agentuity git account remove [options]

Options

OptionTypeRequiredDefaultDescription
--orgstringYes-Organization ID
--accountstringYes-GitHub integration ID to remove
--confirmbooleanYes-Skip confirmation prompt

Examples

Remove a GitHub account from your organization:

bunx @agentuity/cli git account remove

Remove a specific account without prompts:

bunx @agentuity/cli git account remove --org org_abc --account int_xyz --confirm

Remove and return JSON result:

bunx @agentuity/cli --json git account remove --org org_abc --account int_xyz --confirm

Output

Returns JSON object:

{
  "removed": "boolean",
  "orgId": "string",
  "integrationId": "string"
}
FieldTypeDescription
removedbooleanWhether the account was removed
orgIdstringOrganization ID
integrationIdstringIntegration ID that was removed