Red Hat Ansible Automation Platform Orphans: Cleanup API

The Orphans: Cleanup API from Red Hat Ansible Automation Platform — 1 operation(s) for orphans: cleanup.

Operations 1

POST /api/automation-hub/pulp/api/v3/orphans/cleanup/ Orphans cleanup cleanup #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/red-hat-ansible-automation-platform-orphans-cleanup-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

red-hat-ansible-automation-platform-orphans-cleanup-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: 'Automation Hub Orphans: Cleanup API'
  version: v3
  description: Fetch, Upload, Organize, and Distribute Ansible Collections
  contact:
    name: Automation Hub Team
    email: ansible-galaxy-team@redhat.com
    url: https://www.ansible.com/products/automation-hub
  license:
    name: GPLv2+
    url: https://raw.githubusercontent.com/ansible/galaxy_ng/main/LICENSE
  x-logo:
    url: https://pulp.plan.io/attachments/download/517478/pulp_logo_word_rectangle.svg
  x-pulp-app-versions:
    core: 3.49.40
    galaxy: 4.12.0dev
    ansible: 0.25.1
    container: 2.19.5
    certguard: 3.49.40
    file: 3.49.40
  x-pulp-domain-enabled: false
servers:
- url: http://automation-hub-backend-cwa.automation-hub-prod.svc.cluster.local:8000/
tags:
- name: 'Orphans: Cleanup'
paths:
  /api/automation-hub/pulp/api/v3/orphans/cleanup/:
    post:
      operationId: orphans_cleanup_cleanup
      description: Trigger an asynchronous orphan cleanup operation.
      tags:
      - 'Orphans: Cleanup'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/OrphansCleanup'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/OrphansCleanup'
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/OrphansCleanup'
        required: true
      responses:
        '202':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AsyncOperationResponse'
          description: ''
      summary: Orphans cleanup cleanup
      x-summary-source: derived
components:
  schemas:
    AsyncOperationResponse:
      type: object
      description: Serializer for asynchronous operations.
      properties:
        task:
          type: string
          format: uri
          description: The href of the task.
      required:
      - task
    OrphansCleanup:
      type: object
      properties:
        content_hrefs:
          type: array
          items: {}
          description: Will delete specified content and associated Artifacts if they are orphans.
        orphan_protection_time:
          type:
          - integer
          - 'null'
          format: int64
          description: The time in minutes for how long Pulp will hold orphan Content and Artifacts before they become candidates for deletion by this orphan cleanup task. This should ideally be longer than your longest running task otherwise any content created during that task could be cleaned up before the task finishes. If not specified, a default value is taken from the setting ORPHAN_PROTECTION_TIME.