mba-cli subscription

2 commands

Read subscriptions

Synopsis#

bash
mba-cli subscription <command> [flags]

Available commands#

mba-cli subscription getGet one subscription by id
Retrieve a subscription by id Returns the subscription with the given `subscriptionId` for the tenant identified by the API key. Related: `List subscriptions`. Get one subscription by id
--idstringSubscription id
mba-cli subscription lsList subscriptions
List subscriptions Returns the subscriptions across the tenant's billing accounts. Paginated: use `page`/`limit` or `paginate=false`; supports sorting and state/plan filters. To count without fetching rows, request `limit=1` and read `metadata.total`. Related: `Retrieve a subscription`. List subscriptions
--allbool = falseReturn all rows (paginate=false)
--from-datestringQuery parameter fromDate (from the API spec)
--idsstringQuery parameter ids (from the API spec)
--limitint = 20Query parameter limit (from the API spec)
--orderstringQuery parameter order (from the API spec)
--pageint = 1Query parameter page (from the API spec)
--paginatebool = trueQuery parameter paginate (from the API spec)
--plan-idstringQuery parameter planId (from the API spec)
--searchstringQuery parameter search (from the API spec)
--sortstringQuery parameter sort (from the API spec)
--statestringQuery parameter state (from the API spec)
--to-datestringQuery parameter toDate (from the API spec)
Was this page helpful?