DELETE /katello/api/repositories/841753487 { "remove_from_content_view_versions": true, "repository": {} } 200 { "relative_path": "ACME_Corporation/library/fedora_17_unpublished_label", "promoted": false, "content_view_version_id": 840492357, "library_instance_id": null, "last_contents_changed": "1970-01-01 00:00:00 UTC", "organization_id": 114267492, "organization": { "name": "Empty Organization", "label": "Empty_Organization", "id": 114267492 }, "created_at": "2024-02-22 18:15:42 UTC", "updated_at": "2024-02-22 18:15:42 UTC", "backend_identifier": "6", "container_repository_name": null, "full_path": "https://centos8-katello-devel.redhat.example.com/pulp/content/ACME_Corporation/library/fedora_17_unpublished_label/", "version_href": null, "remote_href": null, "publication_href": null, "content_counts": { "rpm": 0, "erratum": 0, "package_group": 0, "srpm": 0, "module_stream": 0 }, "mirroring_policy": "mirror_content_only", "id": 841753487, "name": "Fedora 17 x86_64 unpublished", "label": "fedora_17_unpublished_label", "description": null, "content_view_versions": [], "filters": [], "last_sync": null, "content_view": { "id": 30237652, "name": "ACME Default ContentView" }, "content_view_version": { "id": 840492357, "name": "ACME Default ContentView 1.0", "content_view_id": 30237652 }, "kt_environment": { "id": 562075838, "name": "Library" }, "content_type": "yum", "url": "http://www.pleaseack.com", "arch": "noarch", "os_versions": null, "content_id": "8374837483743", "generic_remote_options": null, "major": null, "minor": null, "product": { "id": 785257261, "cp_id": "123123123001", "name": "Fedora", "orphaned": false, "redhat": false, "sync_plan": null }, "content_label": null, "last_sync_words": null, "environment": { "id": 562075838, "registry_unauthenticated_pull": false }, "docker_upstream_name": null, "include_tags": null, "exclude_tags": null, "verify_ssl_on_sync": true, "unprotected": true, "checksum_type": null, "download_policy": "immediate", "ansible_collection_requirements": null, "ansible_collection_auth_url": null, "ansible_collection_auth_token": null, "gpg_key_id": 591165711, "ssl_ca_cert_id": null, "ssl_client_cert_id": null, "ssl_client_key_id": null, "upstream_username": null, "deb_releases": null, "deb_components": null, "deb_architectures": null, "http_proxy_policy": "global_default_http_proxy", "http_proxy_id": null, "http_proxy_name": null, "retain_package_versions_count": null, "metadata_expire": null, "ignorable_content": null, "http_proxy": { "id": null, "name": null, "policy": "global_default_http_proxy" }, "ssl_ca_cert": { "id": null, "name": null }, "ssl_client_cert": { "id": null, "name": null }, "ssl_client_key": { "id": null, "name": null }, "gpg_key": { "id": 591165711, "name": "Fedora GPG Key" }, "permissions": { "deletable": true, "deletable_across_cv": true }, "upstream_password_exists": false, "upstream_auth_exists": false, "content_view_environments": [] }
Param name | Description |
---|---|
id
required |
Validations:
|
remove_from_content_view_versions
optional |
Force delete the repository by removing it from all content view versions Validations:
|
delete_empty_repo_filters
optional |
Delete content view filters that have this repository as the last associated repository. Defaults to true. If false, such filters will now apply to all repositories in the content view. Validations:
|