How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Red Hat Ansible Automation Platform Role Definitions API

The role_definitions API from Red Hat Ansible Automation Platform — 12 operation(s) for role_definitions.

Red Hat Ansible Automation Platform Role Definitions API is one of 333 APIs that Red Hat Ansible Automation Platform publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

The published artifact set on APIs.io includes an OpenAPI specification, API documentation, an API reference, and authentication docs.

This API exposes 24 operations across 12 paths, and defines 23 schemas. It is described by OpenAPI 3.2.0, at version 1.0.

Requests are made against a single base URL, /api/eda/v1.

24 operations 12 paths 23 schemas 3 DELETE12 GET3 PATCH3 POST3 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
1.0
Base URL
https://controller-host/api/v2/
Authentication
API Key, API Key, HTTP Basic, OAuth 2.0, API Key
Resource Areas
1

Authentication & Security 5

Red Hat Ansible Automation Platform Role Definitions API declares 5 security schemes for authenticating requests. An API key is passed in the header as X-DAB-JW-TOKEN (EDAJWTAuthentication). An API key is passed in the cookie as sessionid (cookieAuth). It accepts HTTP basic authentication (Basic_Authentication). It supports OAuth 2.0 (OAuth2_Authentication) using the authorizationCode and password flows, exposing 2 scopes. An API key is passed in the cookie as gateway_sessionid (SessionAuthentication).

Paths & Operations 24

Across 12 paths, the API surfaces 24 operations — 3 DELETE, 12 GET, 3 PATCH, 3 POST, 3 PUT. Each is listed below with its method, path, parameters, and response codes.

role_definitions 24
GET
/api/v2/role_definitions/
Role definitions list
role_definitions_list 31 params → 200
POST
/api/v2/role_definitions/
Role definitions create
role_definitions_create body → 201
GET
/api/v2/role_definitions/{id}/
Role definitions retrieve
role_definitions_retrieve 1 param → 200
PUT
/api/v2/role_definitions/{id}/
Role definitions update
role_definitions_update 1 param body → 200
PATCH
/api/v2/role_definitions/{id}/
Role definitions partial update
role_definitions_partial_update 1 param body → 200
DELETE
/api/v2/role_definitions/{id}/
Role definitions destroy
role_definitions_destroy 1 param → 204
GET
/api/v2/role_definitions/{id}/team_assignments/
Role definitions team assignments list
role_definitions_team_assignments_list 8 params → 200
GET
/api/v2/role_definitions/{id}/user_assignments/
Role definitions user assignments list
role_definitions_user_assignments_list 8 params → 200
GET
/role_definitions/
Role definitions list
getRoleDefinitions 3 params → 200
POST
/role_definitions/
Role definitions create
postRoleDefinitions body → 201
GET
/role_definitions/{id}/
Role definitions retrieve
getRoleDefinitionsById 1 param → 200
PUT
/role_definitions/{id}/
Role definitions update
putRoleDefinitionsById 1 param body → 200
PATCH
/role_definitions/{id}/
Role definitions partial update
patchRoleDefinitionsById 1 param body → 200
DELETE
/role_definitions/{id}/
Role definitions destroy
deleteRoleDefinitionsById 1 param → 204
GET
/role_definitions/{id}/team_assignments/
Role definitions team assignments list
getRoleDefinitionsByIdTeamAssignments 4 params → 200
GET
/role_definitions/{id}/user_assignments/
Role definitions user assignments list
getRoleDefinitionsByIdUserAssignments 4 params → 200
GET
/api/gateway/v1/role_definitions/
Role definitions list
getApiGatewayV1RoleDefinitions 31 params → 200
POST
/api/gateway/v1/role_definitions/
Role definitions create
postApiGatewayV1RoleDefinitions body → 201
GET
/api/gateway/v1/role_definitions/{id}/
Role definitions retrieve
getApiGatewayV1RoleDefinitionsById 1 param → 200
PUT
/api/gateway/v1/role_definitions/{id}/
Role definitions update
putApiGatewayV1RoleDefinitionsById 1 param body → 200
PATCH
/api/gateway/v1/role_definitions/{id}/
Role definitions partial update
patchApiGatewayV1RoleDefinitionsById 1 param body → 200
DELETE
/api/gateway/v1/role_definitions/{id}/
Role definitions destroy
deleteApiGatewayV1RoleDefinitionsById 1 param → 204
GET
/api/gateway/v1/role_definitions/{id}/team_assignments/
Role definitions team assignments list
getApiGatewayV1RoleDefinitionsByIdTeamAssignments 8 params → 200
GET
/api/gateway/v1/role_definitions/{id}/user_assignments/
Role definitions user assignments list
getApiGatewayV1RoleDefinitionsByIdUserAssignments 8 params → 200

Schemas 23

The contract defines 23 schemas that model the data the API accepts and returns. The most detailed are RoleDefinition (13 properties), GatewayRoleDefinition (13 properties), PatchedGatewayRoleDefinition (13 properties), RoleDefinition_2 (13 properties). Each schema is shown below with its type and property counts.

PaginatedRoleUserAssignmentList
object
4 properties 2 required
PaginatedRoleTeamAssignmentList
object
4 properties 2 required
RoleDefinition
object
13 properties 2 required
PaginatedRoleDefinitionList
object
4 properties 2 required
RoleUserAssignment
object
12 properties 1 required
PatchedRoleDefinitionRequest
object
4 properties
RoleTeamAssignment
object
12 properties 1 required
RoleDefinitionDetailRequest
object
3 properties 2 required
RoleDefinitionDetail
object
13 properties 2 required
RoleDefinitionRequest
object
4 properties 2 required
PaginatedRoleUserAssignmentList_2
object
6 properties
PaginatedRoleTeamAssignmentList_2
object
6 properties
PatchedRoleDefinition
object
13 properties
RoleDefinitionCreate
object
4 properties 2 required
RoleDefinition_2
object
13 properties 11 required
PaginatedRoleDefinitionList_2
object
6 properties
RoleUserAssignment_2
object
12 properties 8 required
RoleTeamAssignment_2
object
12 properties 8 required
GatewayRoleTeamAssignment
object
Custom serializer with Galaxy-specific validation for team role assignments Teams can only be assigned roles where all permissions are in the 'galaxy' service.…
12 properties 1 required
GatewayRoleDefinition
object
Custom serializer with Gateway-specific validation Generated by Claude Sonnet 4
13 properties 2 required
PaginatedGatewayRoleDefinitionList
object
4 properties 2 required
PaginatedGatewayRoleTeamAssignmentList
object
4 properties 2 required
PatchedGatewayRoleDefinition
object
Custom serializer with Gateway-specific validation Generated by Claude Sonnet 4
13 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

red-hat-ansible-automation-platform-role-definitions-api-openapi.yml Raw ↑

Other APIs Red Hat Ansible Automation Platform publishes across the network.

Red Hat Automation Services Catalog API
Red Hat Ansible Automation Platform Access Policies API
Red Hat Ansible Automation Platform Acs: File API
Red Hat Ansible Automation Platform Activation Instances API
Red Hat Ansible Automation Platform Activations API
Red Hat Ansible Automation Platform Activity Stream API
Red Hat Ansible Automation Platform Ad Hoc Command Events API
Red Hat Ansible Automation Platform Ad Hoc Commands API
Red Hat Ansible Automation Platform AI API
Red Hat Ansible Automation Platform Analytics API
Red Hat Ansible Automation Platform Ansible: Collections API
Red Hat Ansible Automation Platform Api: API
Where this information came from

This is an independent, third-party profile of Red Hat Ansible Automation Platform Role Definitions API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.