Sha256: db1d13667c187bfbd142b563fda86dc4e159343ee6bb1d6187302499ac460554

Contents?: true

Size: 1.39 KB

Versions: 53

Compression:

Stored size: 1.39 KB

Contents

# PulpcoreClient::RepositoriesReclaimSpaceApi

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

Method | HTTP request | Description
------------- | ------------- | -------------
[**reclaim**](RepositoriesReclaimSpaceApi.md#reclaim) | **POST** /pulp/api/v3/repositories/reclaim_space/ | 



## reclaim

> AsyncOperationResponse reclaim(reclaim_space)



Trigger an asynchronous space reclaim operation.

### 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::RepositoriesReclaimSpaceApi.new
reclaim_space = PulpcoreClient::ReclaimSpace.new # ReclaimSpace | 

begin
  result = api_instance.reclaim(reclaim_space)
  p result
rescue PulpcoreClient::ApiError => e
  puts "Exception when calling RepositoriesReclaimSpaceApi->reclaim: #{e}"
end
```

### Parameters


Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **reclaim_space** | [**ReclaimSpace**](ReclaimSpace.md)|  | 

### Return type

[**AsyncOperationResponse**](AsyncOperationResponse.md)

### Authorization

[basicAuth](../README.md#basicAuth)

### HTTP request headers

- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
- **Accept**: application/json

Version data entries

53 entries across 53 versions & 1 rubygems

Version Path
pulpcore_client-3.63.4 docs/RepositoriesReclaimSpaceApi.md
pulpcore_client-3.22.34 docs/RepositoriesReclaimSpaceApi.md
pulpcore_client-3.68.1 docs/RepositoriesReclaimSpaceApi.md
pulpcore_client-3.28.35 docs/RepositoriesReclaimSpaceApi.md
pulpcore_client-3.49.25 docs/RepositoriesReclaimSpaceApi.md
pulpcore_client-3.39.24 docs/RepositoriesReclaimSpaceApi.md
pulpcore_client-3.63.3 docs/RepositoriesReclaimSpaceApi.md
pulpcore_client-3.28.34 docs/RepositoriesReclaimSpaceApi.md
pulpcore_client-3.22.33 docs/RepositoriesReclaimSpaceApi.md
pulpcore_client-3.49.24 docs/RepositoriesReclaimSpaceApi.md
pulpcore_client-3.68.0 docs/RepositoriesReclaimSpaceApi.md
pulpcore_client-3.67.1 docs/RepositoriesReclaimSpaceApi.md
pulpcore_client-3.39.23 docs/RepositoriesReclaimSpaceApi.md
pulpcore_client-3.63.2 docs/RepositoriesReclaimSpaceApi.md
pulpcore_client-3.66.1 docs/RepositoriesReclaimSpaceApi.md
pulpcore_client-3.22.32 docs/RepositoriesReclaimSpaceApi.md
pulpcore_client-3.28.33 docs/RepositoriesReclaimSpaceApi.md
pulpcore_client-3.39.22 docs/RepositoriesReclaimSpaceApi.md
pulpcore_client-3.49.23 docs/RepositoriesReclaimSpaceApi.md
pulpcore_client-3.67.0 docs/RepositoriesReclaimSpaceApi.md