Sha256: 657c66d288dae92f215bb976d5e941bc1bed2932b24764b93aeba6ef77d01885
Contents?: true
Size: 1.18 KB
Versions: 79
Compression:
Stored size: 1.18 KB
Contents
# PulpcoreClient::OrphansApi All URIs are relative to *http://localhost:24817* Method | HTTP request | Description ------------- | ------------- | ------------- [**delete**](OrphansApi.md#delete) | **DELETE** /pulp/api/v3/orphans/ | Delete orphans ## delete > AsyncOperationResponse delete Delete orphans DEPRECATED! Trigger an asynchronous task that deletes all orphaned content and artifacts. Use the `POST /pulp/api/v3/orphans/cleanup/` call instead. ### 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::OrphansApi.new begin #Delete orphans result = api_instance.delete p result rescue PulpcoreClient::ApiError => e puts "Exception when calling OrphansApi->delete: #{e}" end ``` ### Parameters This endpoint does not need any parameter. ### Return type [**AsyncOperationResponse**](AsyncOperationResponse.md) ### Authorization [basicAuth](../README.md#basicAuth) ### HTTP request headers - **Content-Type**: Not defined - **Accept**: application/json
Version data entries
79 entries across 79 versions & 1 rubygems