mongocli atlas events projects list
On this page
mongocli atlas
commands are now deprecated because there's a new, dedicated CLI available for Atlas users. Migrate to the Atlas CLI to enjoy the same capabilities and the latest features. You can use mongocli atlas
commands until April 30, 2023.Return all events for a project.
Your API Key must have the Project Read Only role to successfully call this resource.
Syntax
mongocli atlas events projects list [options]
Options
Name | Type | Required | Description |
---|---|---|---|
-h, --help | false | help for list | |
--limit | int | false | Number of items per page. |
--maxDate | string | false | Returns events whose created date is less than or equal to it. |
--minDate | string | false | Returns events whose created date is greater than or equal to it. |
-o, --output | string | false | Output format. Valid values are json, json-path, go-template, or go-template-file. |
--page | int | false | Page number. |
--projectId | string | false | Project ID to use. Overrides the settings in the configuration file or environment variable. |
--type | strings | false | Type of the event that triggered the alert. |
Inherited Options
Name | Type | Required | Description |
---|---|---|---|
-P, --profile | string | false | Profile to use from your configuration file. |