Sha256: 8f88fb9c0293de2aff8361097b4c659dc19e308a3ac95dd7069bd94c086145d1

Contents?: true

Size: 1.23 KB

Versions: 2

Compression:

Stored size: 1.23 KB

Contents

# PulpFileClient::OrphansApi

All URIs are relative to *http://localhost:24817*

Method | HTTP request | Description
------------- | ------------- | -------------
[**orphans_delete**](OrphansApi.md#orphans_delete) | **DELETE** /pulp/api/v3/orphans/ | Delete orphans



## orphans_delete

> AsyncOperationResponse orphans_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 'pulp_file_client'
# setup authorization
PulpFileClient.configure do |config|
  # Configure HTTP basic authorization: basicAuth
  config.username = 'YOUR USERNAME'
  config.password = 'YOUR PASSWORD'
end

api_instance = PulpFileClient::OrphansApi.new

begin
  #Delete orphans
  result = api_instance.orphans_delete
  p result
rescue PulpFileClient::ApiError => e
  puts "Exception when calling OrphansApi->orphans_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

2 entries across 2 versions & 1 rubygems

Version Path
pulp_file_client-3.55.2 docs/OrphansApi.md
pulp_file_client-3.49.14 docs/OrphansApi.md