Skip to content

Account

Account management

Usage

leadr account <COMMAND>

Commands

Command Description
get Get account by ID
update Update an account
delete Delete an account (soft delete)

account get

Get account by ID

Options:

Option Description Required
--account-id Account ID (UUID) - optional if configured via auth admin configure No

Example:

leadr account get
leadr account get --account-id <UUID>

account update

Update an account

Options:

Option Description Required
--account-id Account ID (UUID) - optional if configured via auth admin configure No
--json JSON string with fields to update (e.g., {"name": "New Name", "status": "suspended"}) Yes

Example:

leadr account update --account-id <UUID> --json '{"name": "New Name"}'

account delete

Delete an account (soft delete)

Options:

Option Description Required
--account-id Account ID (UUID) - optional if configured via auth admin configure No

Example:

leadr account delete --account-id <UUID>