Red Hat Enterprise Linux 8 Policies API

The Policies API from Red Hat Enterprise Linux 8 — 11 operation(s) for policies.

GitHub OpenAPI

Operations 20

GET /policies Request Policies #
POST /policies Create a Policy #
GET /policies/{policy_id} Request a Policy #
PATCH /policies/{policy_id} Update a Policy #
DELETE /policies/{policy_id} Delete a Policy #
GET /policies/{policy_id}/tailorings/{tailoring_id}/rules Request Rules assigned to a Tailoring #
POST /policies/{policy_id}/tailorings/{tailoring_id}/rules Bulk assign Rules to a Tailoring #
PATCH /policies/{policy_id}/tailorings/{tailoring_id}/rules/{rule_id} Assign a Rule to a Tailoring #
DELETE /policies/{policy_id}/tailorings/{tailoring_id}/rules/{rule_id} Unassign a Rule from a Tailoring #
GET /policies/{policy_id}/systems Request Systems assigned to a Policy #
POST /policies/{policy_id}/systems Bulk assign Systems to a Policy #
PATCH /policies/{policy_id}/systems/{system_id} Assign a System to a Policy #
DELETE /policies/{policy_id}/systems/{system_id} Unassign a System from a Policy #
GET /policies/{policy_id}/tailorings Request Tailorings #
POST /policies/{policy_id}/tailorings Create a Tailoring #
GET /policies/{policy_id}/tailorings/{tailoring_id} Request a Tailoring #
PATCH /policies/{policy_id}/tailorings/{tailoring_id} Update a Tailoring #
GET /policies/{policy_id}/tailorings/{tailoring_id}/rule_tree Request the Rule Tree of a Tailoring #
GET /policies/{policy_id}/tailorings/{tailoring_id}/tailoring_file.json Request a Tailoring file #
GET /policies/{policy_id}/tailorings/{tailoring_id}/tailoring_file.toml Request a Tailoring file #

Documentation

Specifications

Schemas & Data

Other Resources

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-enterprise-linux-8:red-hat-enterprise-linux-8-policies-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

red-hat-enterprise-linux-8-policies-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Cloud Services for RHEL Compliance API v2 Policies API
  version: v2
  description: This is the API for Cloud Services for RHEL Compliance. You can find out more about Red Hat Cloud Services for RHEL at https://console.redhat.com/
servers:
- url: https://{defaultHost}/api/compliance/v2
  variables:
    defaultHost:
      default: console.redhat.com
tags:


# --- truncated at 32 KB (164 KB total) ---
# Full source: https://artifacts.apis.io/red-hat-enterprise-linux-8/openapi/red-hat-enterprise-linux-8-policies-api-openapi.yml