Sha256: 7cc73e252641a2c3c68e08382a45ca6976a1b6fbf6cd85e8374b5cf27dc59bbc

Contents?: true

Size: 1.14 KB

Versions: 1

Compression:

Stored size: 1.14 KB

Contents

# PulpcoreClient::OrphansApi

All URIs are relative to *http://pulp*

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



## orphans_delete

> AsyncOperationResponse orphans_delete

Delete orphans

Trigger an asynchronous task that deletes allorphaned content and artifacts.

### 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.orphans_delete
  p result
rescue PulpcoreClient::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

1 entries across 1 versions & 1 rubygems

Version Path
pulpcore_client-3.6.1 docs/OrphansApi.md