PUT /v2/registry/{registry_name}/garbage-collection/{garbage_collection_uuid}
To cancel the currently-active garbage collection for a registry, send a PUT request to /v2/registry/$REGISTRY_NAME/garbage-collection/$GC_UUID
and specify one or more of the attributes below.
Servers
- https://api.digitalocean.com
Path parameters
Name | Type | Required | Description |
---|---|---|---|
registry_name |
String | Yes |
The name of a container registry. |
garbage_collection_uuid |
String | Yes |
The UUID of a garbage collection run. |
Request headers
Name | Type | Required | Description |
---|---|---|---|
Content-Type |
String | Yes |
The media type of the request body.
Default value: "application/json" |
Request body fields
Name | Type | Required | Description |
---|---|---|---|
cancel |
Boolean | No |
A boolean value indicating that the garbage collection should be cancelled. |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.