Sha256: 26093c119fd45a92eab7f3861795a713c48e65296a4e704d1867b93da38a7b55

Contents?: true

Size: 1.38 KB

Versions: 214

Compression:

Stored size: 1.38 KB

Contents

# PulpcoreClient::RepositoriesReclaimSpaceApi

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

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

214 entries across 214 versions & 1 rubygems

Version Path
pulpcore_client-3.22.28 docs/RepositoriesReclaimSpaceApi.md
pulpcore_client-3.21.31 docs/RepositoriesReclaimSpaceApi.md
pulpcore_client-3.28.29 docs/RepositoriesReclaimSpaceApi.md
pulpcore_client-3.28.28 docs/RepositoriesReclaimSpaceApi.md
pulpcore_client-3.22.27 docs/RepositoriesReclaimSpaceApi.md
pulpcore_client-3.21.30 docs/RepositoriesReclaimSpaceApi.md
pulpcore_client-3.28.26 docs/RepositoriesReclaimSpaceApi.md
pulpcore_client-3.22.25 docs/RepositoriesReclaimSpaceApi.md
pulpcore_client-3.22.24 docs/RepositoriesReclaimSpaceApi.md
pulpcore_client-3.28.25 docs/RepositoriesReclaimSpaceApi.md
pulpcore_client-3.28.24 docs/RepositoriesReclaimSpaceApi.md
pulpcore_client-3.21.26 docs/RepositoriesReclaimSpaceApi.md
pulpcore_client-3.18.35 docs/RepositoriesReclaimSpaceApi.md
pulpcore_client-3.28.23 docs/RepositoriesReclaimSpaceApi.md
pulpcore_client-3.22.22 docs/RepositoriesReclaimSpaceApi.md
pulpcore_client-3.28.22 docs/RepositoriesReclaimSpaceApi.md
pulpcore_client-3.28.21 docs/RepositoriesReclaimSpaceApi.md
pulpcore_client-3.28.20 docs/RepositoriesReclaimSpaceApi.md
pulpcore_client-3.18.34 docs/RepositoriesReclaimSpaceApi.md
pulpcore_client-3.22.21 docs/RepositoriesReclaimSpaceApi.md