code: def cli(env, volume_id, schedule_type):
      
  
      if (schedule_type not in ['INTERVAL', 'HOURLY', 'DAILY', 'WEEKLY']):
          raise exceptions.CLIAbort(
              '--schedule_type must be INTERVAL, HOURLY, DAILY, or WEEKLY')
  
      file_manager = SoftLayer.FileStorageManager(env.client)
      disabled = file_manager.disable_snapshots(volume_id, schedule_type)
  
      if disabled:
          click.echo('%s snapshots have been disabled for volume %s'
                     % (schedule_type, volume_id))
docs: Disables snapshots on the specified schedule for a given volume