37
37
.. code-block:: text
38
38
39
39
mongocli iam organization|organizations|org|orgs list|ls
40
+ [ --includeDeleted ]
40
41
[ --limit <number-of-orgs> ]
42
+ [ --name <org-name> ]
41
43
[ --output|-o <output-format> ]
42
44
[ --page <number-of-pages> ]
43
45
[ --profile|-P <profile-name> ]
@@ -58,6 +60,24 @@ Options
58
60
- Description
59
61
- Required?
60
62
63
+ * - ``--includeDeleted``
64
+ -
65
+ - Flag that indicates whether {+mcli+} returns deleted
66
+ organizations.
67
+
68
+ .. important::
69
+
70
+ This flag:
71
+
72
+ - is applicable for |onprem| organizations only. {+mcli+}
73
+ never returns deleted |service| or |cloud-short|
74
+ organizations.
75
+ - requires you to have an |onprem| :opsmgr:`global role
76
+ </reference/user-roles/#global-roles>`.
77
+
78
+ If omitted, {+mcli+} doesn't return deleted organizations.
79
+ - no
80
+
61
81
* - ``--limit``
62
82
- integer
63
83
- Number of organizations to return per page.
@@ -70,6 +90,19 @@ Options
70
90
For example usage, see :ref:`mcli-organization-list-examples-pagination`.
71
91
- no
72
92
93
+ * - ``--name``
94
+ - string
95
+ - Filter that {+mcli+} uses to limit results based on the specified
96
+ organization name. Performs a case-insensitive search for
97
+ organizations that exactly match the specified ``name``.
98
+
99
+ .. example::
100
+
101
+ If you specify a ``--name`` option of org1, {+mcli+} returns
102
+ organizations named ``org1`` and ``Org1``, but would not
103
+ return an organization named ``org123``.
104
+ - no
105
+
73
106
* - ``--output``, ``-o``
74
107
- string
75
108
- .. include:: /includes/extracts/fact-basic-options-output.rst
@@ -186,6 +219,7 @@ The command returns the following |json| document:
186
219
"results": [
187
220
{
188
221
"id": "abcdef3e1234de007b387a9f",
222
+ "isDeleted": false,
189
223
"links": [
190
224
{
191
225
"rel": "self",
@@ -225,6 +259,7 @@ The command returns the following |json| document:
225
259
"results": [
226
260
{
227
261
"id": "5e332f3e1234de007b387a9f",
262
+ "isDeleted": false,
228
263
"links": [
229
264
{
230
265
"rel": "self",
@@ -235,6 +270,7 @@ The command returns the following |json| document:
235
270
},
236
271
{
237
272
"id": "5e38efd83b60f567896baf4d",
273
+ "isDeleted": false,
238
274
"links": [
239
275
{
240
276
"rel": "self",
@@ -279,6 +315,7 @@ the terminal. To learn more about these fields, see
279
315
"results": [
280
316
{
281
317
"id": "5e332f3e1234de007b387a9f",
318
+ "isDeleted": false,
282
319
"links": [
283
320
{
284
321
"rel": "self",
@@ -289,6 +326,7 @@ the terminal. To learn more about these fields, see
289
326
},
290
327
{
291
328
"id": "5e38efd83b60f567896baf4d",
329
+ "isDeleted": false,
292
330
"links": [
293
331
{
294
332
"rel": "self",
@@ -299,6 +337,7 @@ the terminal. To learn more about these fields, see
299
337
},
300
338
{
301
339
"id": "27a91237ba9cb28a15ed3f51",
340
+ "isDeleted": false,
302
341
"links": [
303
342
{
304
343
"rel": "self",
@@ -309,6 +348,7 @@ the terminal. To learn more about these fields, see
309
348
},
310
349
{
311
350
"id": "959bd41f6c65d5a31077f78a",
351
+ "isDeleted": false,
312
352
"links": [
313
353
{
314
354
"rel": "self",
@@ -319,6 +359,7 @@ the terminal. To learn more about these fields, see
319
359
},
320
360
{
321
361
"id": "f459b51a9a6e4eba907b47ad",
362
+ "isDeleted": false,
322
363
"links": [
323
364
{
324
365
"rel": "self",
0 commit comments