code: def post(method, hmc, uri, uri_parms, body, logon_required,
               wait_for_completion):
          
          assert wait_for_completion is True  # async not supported yet
          cpc_oid = uri_parms[0]
          try:
              cpc = hmc.cpcs.lookup_by_oid(cpc_oid)
          except KeyError:
              raise InvalidResourceError(method, uri)
          if not cpc.dpm_enabled:
              raise CpcNotInDpmError(method, uri, cpc)
          cpc.properties['status'] = 'not-operating'
docs: Operation: Stop CPC (requires DPM mode).