Skip to content

v1.0.5 — accounts: lifecycle (create + delete)

Choose a tag to compare

@yasserstudio yasserstudio released this 12 Jun 12:16
· 64 commits to main since this release
4893900

What's Changed

Account lifecycle — create and (irreversibly) delete accounts on Merchant API accounts/v1. Completes the account-management surface (profile writes in 1.0.3, access in 1.0.4, lifecycle here).

  • gmc accounts createaccounts:createAndConfigure, typically a sub-account under an aggregator. Build it from --name / --time-zone / --language / --adult-content + --aggregator <id>, or pass a full body via --file (kept whole, so user[] / setAlias[] round-trip).
  • gmc accounts delete <accountId> --yes [--force]irreversible: the id is required (no profile fallback) and --yes must confirm; --force maps to the API's force (delete an account with sub-accounts or processed offers).

API surface web-verified against the live accounts.createAndConfigure / delete docs; ran the multi-agent review (security · code-quality · correctness — 0 actionable findings).

Packages

@gmc-cli/cli 1.0.4 → 1.0.5 · @gmc-cli/api → 0.9.11 (internal)

Install

npm i -g @gmc-cli/cli · brew install yasserstudio/tap/gmc · or the standalone binaries below.

Tests: api 107 · cli 222 (+11). Full changelog: v1.0.4...v1.0.5