@@ -456,21 +456,30 @@ policy through the :opsmgr:`API </reference/api/controlled-features/update-contr
456456 --include \
457457 --request GET "https://{OPSMANAGER-HOST}:{PORT}/api/public/v1.0/groups/{PROJECT-ID}/controlledFeature?pretty=true"
458458
459- .. important::
459+ Save the response that the API returns. After you make changes in
460+ the |onprem| application, you must add these policies back to
461+ the project.
460462
461- Save the response that the API returns. After you make changes in
462- the |onprem| application, you must add these policies back to
463- the project.
463+ .. important::
464+
465+ Note the highlighted fields and values in the following sample
466+ response. You must send these same fields and values in later
467+ steps when you remove and add feature control policies.
464468
465- Your response should be similar to:
469+ The ``externalManagementSystem.version`` field corresponds to the
470+ |k8s-op-short| version. You must send the exact same field value
471+ in your requests later in this task.
466472
473+ Your response should be similar to:
474+
467475 .. code-block:: json
476+ :emphasize-lines: 3-7
468477
469478 {
470479 "created": "2020-02-25T04:09:42Z",
471480 "externalManagementSystem": {
472481 "name": "mongodb-enterprise-operator",
473- "systemId": "6d6c139ae5528707b6e8e3b2" ,
482+ "systemId": null ,
474483 "version": "1.4.2"
475484 },
476485 "policies": [
@@ -484,12 +493,19 @@ policy through the :opsmgr:`API </reference/api/controlled-features/update-contr
484493 }
485494 ],
486495 "updated": "2020-02-25T04:10:12Z"
487- }
496+ }
488497
489498#. :opsmgr:`Update </reference/api/controlled-features/update-controlled-features-for-one-project/>`
490499 the ``policies`` array with an empty list:
491500
501+ .. note::
502+
503+ The values you provide for the ``externalManagementSystem``
504+ object, like the ``externalManagementSystem.version`` field, must
505+ match values that you received in the response in Step 1.
506+
492507 .. code-block:: sh
508+ :emphasize-lines: 8-12
493509
494510 curl --user "{USERNAME}:{APIKEY}" --digest \
495511 --header "Accept: application/json" \
@@ -500,7 +516,7 @@ policy through the :opsmgr:`API </reference/api/controlled-features/update-contr
500516 '{
501517 "externalManagementSystem": {
502518 "name": "mongodb-enterprise-operator",
503- "systemId": "6d6c139ae5528707b6e8e3b2" ,
519+ "systemId": null ,
504520 "version": "1.4.2"
505521 },
506522 "policies": []
@@ -514,7 +530,14 @@ policy through the :opsmgr:`API </reference/api/controlled-features/update-contr
514530#. :opsmgr:`Update </reference/api/controlled-features/update-controlled-features-for-one-project/>`
515531 the ``policies`` array with the original feature control policies:
516532
533+ .. note::
534+
535+ The values you provide for the ``externalManagementSystem``
536+ object, like the ``externalManagementSystem.version`` field, must
537+ match values that you received in the response in Step 1.
538+
517539 .. code-block:: sh
540+ :emphasize-lines: 8-12
518541
519542 curl --user "{USERNAME}:{APIKEY}" --digest \
520543 --header "Accept: application/json" \
@@ -525,7 +548,7 @@ policy through the :opsmgr:`API </reference/api/controlled-features/update-contr
525548 '{
526549 "externalManagementSystem": {
527550 "name": "mongodb-enterprise-operator",
528- "systemId": "6d6c139ae5528707b6e8e3b2" ,
551+ "systemId": null ,
529552 "version": "1.4.2"
530553 },
531554 "policies": [
0 commit comments