Sha256: 9e9f45d4d353f6c23cf620b1abdc6172303b8224d9db03b41755a476e7883500

Contents?: true

Size: 1.17 KB

Versions: 87

Compression:

Stored size: 1.17 KB

Contents

# PulpcoreClient::OrphansApi

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

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

87 entries across 87 versions & 1 rubygems

Version Path
pulpcore_client-3.49.13 docs/OrphansApi.md
pulpcore_client-3.39.17 docs/OrphansApi.md
pulpcore_client-3.49.12 docs/OrphansApi.md
pulpcore_client-3.55.1 docs/OrphansApi.md
pulpcore_client-3.55.0 docs/OrphansApi.md
pulpcore_client-3.54.1 docs/OrphansApi.md
pulpcore_client-3.49.11 docs/OrphansApi.md
pulpcore_client-3.39.16 docs/OrphansApi.md
pulpcore_client-3.49.6 docs/OrphansApi.md
pulpcore_client-3.53.0 docs/OrphansApi.md
pulpcore_client-3.51.3 docs/OrphansApi.md
pulpcore_client-3.52.0 docs/OrphansApi.md
pulpcore_client-3.51.2 docs/OrphansApi.md
pulpcore_client-3.49.5 docs/OrphansApi.md
pulpcore_client-3.39.13 docs/OrphansApi.md
pulpcore_client-3.51.1 docs/OrphansApi.md
pulpcore_client-3.50.3 docs/OrphansApi.md
pulpcore_client-3.49.4 docs/OrphansApi.md
pulpcore_client-3.51.0 docs/OrphansApi.md
pulpcore_client-3.50.2 docs/OrphansApi.md