Skip to content

cg api user

The user service endpoint. See cg api for how these relate to the higher-level commands.

Every command also accepts -h / --help.

Command Summary
cg api user User service commands.
cg api user update-user-properties Update a subset of a codingamer's account properties.

cg api user

User service commands.

usage: cg api user [-h] COMMAND ...

Subcommands

cg api user update-user-properties

Update a subset of a codingamer's account properties.

usage: cg api user update-user-properties [-h] [--codingamer-id ID]
                                          [--contributions-list-last-visit TIMESTAMP]

Options

  • -g, --codingamer-id ID — Codingamer to update. Defaults to the logged-in codingamer's ID.
  • --contributions-list-last-visit TIMESTAMP — Set the codingamer's last-visit time for their contributions list. Can be milliseconds since epoch, a duration string (e.g., '1h30m'), a relative duration from now (e.g., '-1h30m'), or an ISO 8601 datetime string.

Generated from the parser itself. For when to use these, see the CLI guides.