Red Hat Training

A Red Hat training course is available for Red Hat Satellite

35.4. Method: deleteFiles

Description

Removes file paths from a local or sandbox channel of a server.

Parameters

The following parameters are available for this method:

  • string sessionKey
  • int serverId
  • array:
    • string - paths to remove.
  • boolean deleteFromLocal
    • true to delete configuration file paths from the system's local override configuration channel
    • false to delete configuration file paths from the system's sandbox configuration channel
Returns

The following return values are available for this method:

  • int - 1 on success, exception thrown otherwise