Sha256: 7cbded18f95c70a74f922242b8515fd18371e410d0f9ef6bf22bfa4bf615d454

Contents?: true

Size: 1.23 KB

Versions: 6

Compression:

Stored size: 1.23 KB

Contents

# PulpcoreClient::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 '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

6 entries across 6 versions & 1 rubygems

Version Path
pulpcore_client-3.55.2 docs/OrphansApi.md
pulpcore_client-3.49.14 docs/OrphansApi.md
pulpcore_client-3.39.18 docs/OrphansApi.md
pulpcore_client-3.28.30 docs/OrphansApi.md
pulpcore_client-3.22.29 docs/OrphansApi.md
pulpcore_client-3.21.32 docs/OrphansApi.md