GoodMemGoodMem
ReferenceCLIUser

User Update

User Update CLI command reference

goodmem user update

Update a human user's profile or labels

goodmem user update <user-id> [flags]

Examples

  # Change a profile field
  goodmem user update 70e025f6-76ca-4cbe-b8fc-7dab8e84590a --display-name "Sarah Amin"

  # Explicitly clear the username and replace all labels
  goodmem user update 70e025f6-76ca-4cbe-b8fc-7dab8e84590a \
    --username "" --label team=platform --label-strategy replace

Options

  -n, --display-name string     Replacement display name; empty clears it
      --email string            Replacement email address
  -f, --format string           Output format: json, compact, quiet (default "json")
  -h, --help                    help for update
  -l, --label strings           Label key=value (repeatable)
      --label-strategy string   Label strategy: replace or merge (default "replace")
      --username string         Replacement username; empty clears it

Options inherited from parent commands

      --api-key string   API key for authentication (can also be set via GOODMEM_API_KEY environment variable)
      --server string    GoodMem server address (gRPC API)

SEE ALSO