Chapter 1. APIs in Red Hat Subscription Management
Using APIs in subscription services can help you more effectively track and automate your Red Hat subscriptions usage in the following ways:
- Control which tools that you use for each product
- Better manage your system and subscription inventories
- Update and secure your systems more efficiently
- Continue receiving official support for your Red Hat products
1.1. RHSM API prerequisites Copy linkLink copied to clipboard!
Red Hat Subscription Management APIs use OAuth 2.0 for authorization. To obtain a token and access the APIs, you will need the following pieces of information:
- Offline token generated on the Red Hat Subscription Manager API Tokens page
- Client ID = rhsm-api
- Token URL = https://sso.redhat.com/auth/realms/redhat-external/protocol/openid-connect/token