Docs Menu
Docs Home
/ /
MongoDB Command Line Interface
/ / / / /

mongocli ops-manager serverUsage organizations hosts list

On this page

  • Syntax
  • Options
  • Inherited Options

List all host assignments for one organization.

mongocli ops-manager serverUsage organizations hosts list [options]
Name
Type
Required
Description
--endDate
string
true
Timestamp, in ISO 8601 date format, when the list of host assignments ends.
-h, --help
false
help for list
--limit
int
false
Number of items per page. This value defaults to 100.
--orgId
string
false
Organization ID to use. Overrides the settings in the configuration file or environment variable.
-o, --output
string
false
Output format. Valid values are json, json-path, go-template, or go-template-file.
--page
int
false
Page number. This value defaults to 1.
--startDate
string
true
Timestamp, in ISO 8601 date format, when the list of host assignments starts.
Name
Type
Required
Description
-P, --profile
string
false
Profile to use from your configuration file.

Back

hosts