Sha256: 9a7fc8a74921d9182d612b246c72d820c9edcc2491aa97fc665afe29131f051d
Contents?: true
Size: 1.35 KB
Versions: 87
Compression:
Stored size: 1.35 KB
Contents
# PulpcoreClient::OrphansCleanupApi All URIs are relative to *http://pulp* Method | HTTP request | Description ------------- | ------------- | ------------- [**cleanup**](OrphansCleanupApi.md#cleanup) | **POST** /pulp/api/v3/orphans/cleanup/ | ## cleanup > AsyncOperationResponse cleanup(orphans_cleanup) Trigger an asynchronous orphan cleanup operation. ### Example ```ruby # load the gem require 'pulpcore_client' # setup authorization PulpcoreClient.configure do |config| # Configure HTTP basic authorization: basicAuth config.username = 'YOUR USERNAME' config.password = 'YOUR PASSWORD' end api_instance = PulpcoreClient::OrphansCleanupApi.new orphans_cleanup = PulpcoreClient::OrphansCleanup.new # OrphansCleanup | begin result = api_instance.cleanup(orphans_cleanup) p result rescue PulpcoreClient::ApiError => e puts "Exception when calling OrphansCleanupApi->cleanup: #{e}" end ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **orphans_cleanup** | [**OrphansCleanup**](OrphansCleanup.md)| | ### Return type [**AsyncOperationResponse**](AsyncOperationResponse.md) ### Authorization [basicAuth](../README.md#basicAuth) ### HTTP request headers - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data - **Accept**: application/json
Version data entries
87 entries across 87 versions & 1 rubygems