Red Hat Ansible Automation Platform OAuth Scopes

OAuth 2.0 derived

Red Hat Ansible Automation Platform publishes 3 OAuth 2.0 scopes via the authorizationCode and password flows. Scopes are the fine-grained permissions an application requests at authorization time to act against the Red Hat Ansible Automation Platform API on a user’s behalf.

Tokens are issued from /o/token/.

This index is generated from the provider’s OpenAPI security definitions (and, where available, its documented scope reference) and refreshes on every APIs.io network build. Browse every provider’s scopes at scopes.apis.io.

AutomationConfiguration ManagementDevOpsEnterpriseRed HatAnsibleIT OperationsEvent-Driven ArchitectureInfrastructure as CodeMCP
Scopes: 3 Flows: authorizationCode, password Method: derived

OAuth endpoints

Authorization URL
/o/authorize/
Token URL
/o/token/
Flows
authorizationCodepassword

Scopes (3)

ScopeDescriptionFlows
delete Ansible Lightspeed only: "Delete resources". authorizationCode
read Platform Gateway: "Read access to resources". Ansible Lightspeed: "Read basic user information". authorizationCode, password
write Platform Gateway: "Write access to resources (includes read)". Ansible Lightspeed: "Request Ansible content suggestions". authorizationCode, password

Source

OAuth Scopes

Raw ↑
generated: '2026-08-29'
method: derived
source: openapi/red-hat-ansible-automation-platform-ansible-lightspeed-openapi.json, openapi/red-hat-ansible-automation-platform-platform-gateway-openapi.json
schemes:
- name: oauth2
  source: openapi/red-hat-ansible-automation-platform-ansible-lightspeed-openapi.json
  flows:
  - flow: authorizationCode
    authorizationUrl: /o/authorize/
    tokenUrl: /o/token/
- name: OAuth2_Authentication
  source: openapi/red-hat-ansible-automation-platform-platform-gateway-openapi.json
  flows:
  - flow: authorizationCode
    authorizationUrl: /o/authorize/
    tokenUrl: /o/token/
  - flow: password
    tokenUrl: /o/token/
scopes:
- scope: delete
  description: 'Ansible Lightspeed only: "Delete resources".'
  flows:
  - authorizationCode
  sources:
  - openapi/red-hat-ansible-automation-platform-ansible-lightspeed-openapi.json
- scope: read
  description: 'Platform Gateway: "Read access to resources". Ansible Lightspeed: "Read basic user information".'
  flows:
  - authorizationCode
  - password
  sources:
  - openapi/red-hat-ansible-automation-platform-ansible-lightspeed-openapi.json
  - openapi/red-hat-ansible-automation-platform-platform-gateway-openapi.json
- scope: write
  description: 'Platform Gateway: "Write access to resources (includes read)". Ansible Lightspeed: "Request
    Ansible content suggestions".'
  flows:
  - authorizationCode
  - password
  sources:
  - openapi/red-hat-ansible-automation-platform-ansible-lightspeed-openapi.json
  - openapi/red-hat-ansible-automation-platform-platform-gateway-openapi.json
note: 'AAP''s OAuth scope surface is deliberately coarse: the Platform Gateway issues only `read` and
  `write`. Authorization is enforced by AAP RBAC AFTER the token is accepted (role definitions, role user/team
  assignments in the Gateway API), not by scope. An agent cannot request a least-privilege token for a
  single resource type — it gets read or write across everything the user can reach. Ansible Lightspeed
  adds a third scope, `delete`.'
warning: The Gateway declares BOTH authorizationCode and password (resource-owner) grants. The password
  grant is removed in OAuth 2.1; recorded as a fact about the contract.
token_endpoints:
  authorization: https://{aap-gateway-host}/o/authorize/
  token: https://{aap-gateway-host}/o/token/
related:
  authentication: authentication/red-hat-ansible-automation-platform-authentication.yml
  rbac_operations:
  - role_definitions_list
  - role_user_assignments_list
  - role_team_assignments_list

Work with this as data

Every scope set 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 oauth scopes

4 MCP tools reach this
  • find_scopesBrowse and filter every scope set in the catalog.
  • 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 scope set
curl "https://apis.io/api/v1/scopes/red-hat-ansible-automation-platform-scopes"
All oauth scopes
curl "https://apis.io/api/v1/scopes?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.