Generated by API Evangelist
Written by API Evangelist tooling for Kong's API. It is a proposal applied on top of the contract, not a document Kong publishes.
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
title: API Evangelist conversational phrasing for Kong Enterprise Admin RBAC Role Entities API
version: 1.0.0
extends: openapi/kong-rbacroleentities-api-openapi.yml
actions:
- target: $.info
update:
x-apievangelist-phrasing:
method: generated
generated: '2026-11-24'
generator: build-phrasing.py
label: Generated by API Evangelist
operations: 3
- target: $.paths['/{workspace}/rbac/roles/{RBACRoleIdForNestedEntities}/entities'].post
update:
x-apievangelist-phrasing:
intent: Grant a role permissions on a specific entity
effect: write
questions:
- How do I give an RBAC role permissions on a single entity in Kong?
- Can I create a negative role entity that denies access to an entity?
- What do I need to supply to attach an entity to an RBAC role?
instructions:
- text: In workspace {workspace}, add entity {entity_id} of type {entity_type} to role {RBACRoleIdForNestedEntities} with actions {actions}.
slots:
workspace: path.workspace
entity_id: requestBody.entity_id
entity_type: requestBody.entity_type
RBACRoleIdForNestedEntities: path.RBACRoleIdForNestedEntities
actions: requestBody.actions
- text: In {workspace}, deny role {RBACRoleIdForNestedEntities} the actions {actions} on entity {entity_id} of type {entity_type} by making it negative.
slots:
workspace: path.workspace
RBACRoleIdForNestedEntities: path.RBACRoleIdForNestedEntities
actions: requestBody.actions
entity_id: requestBody.entity_id
entity_type: requestBody.entity_type
method: generated
generated: '2026-11-24'
- target: $.paths['/{workspace}/rbac/roles/{RBACRoleIdForNestedEntities}/entities/{RBACRoleEntityId}'].get
update:
x-apievangelist-phrasing:
intent: Get a role's entity permission
effect: read
questions:
- What actions does a role have on a given entity?
- Can I look up one role-entity mapping by ID?
instructions:
- text: Show role entity {RBACRoleEntityId} on role {RBACRoleIdForNestedEntities} in {workspace}.
slots:
RBACRoleEntityId: path.RBACRoleEntityId
RBACRoleIdForNestedEntities: path.RBACRoleIdForNestedEntities
workspace: path.workspace
- text: Get the actions role {RBACRoleIdForNestedEntities} has on entity {RBACRoleEntityId} in {workspace}.
slots:
RBACRoleIdForNestedEntities: path.RBACRoleIdForNestedEntities
RBACRoleEntityId: path.RBACRoleEntityId
workspace: path.workspace
method: generated
generated: '2026-11-24'
- target: $.paths['/{workspace}/rbac/roles/{RBACRoleIdForNestedEntities}/entities/{RBACRoleEntityId}'].delete
update:
x-apievangelist-phrasing:
intent: Revoke a role's entity permission
effect: destructive
questions:
- How do I revoke a role's access to an entity?
- Can I remove a single role-entity mapping?
instructions:
- text: Revoke role entity {RBACRoleEntityId} from role {RBACRoleIdForNestedEntities} in {workspace}.
slots:
RBACRoleEntityId: path.RBACRoleEntityId
RBACRoleIdForNestedEntities: path.RBACRoleIdForNestedEntities
workspace: path.workspace
- text: Remove role {RBACRoleIdForNestedEntities}'s access to entity {RBACRoleEntityId} in {workspace}.
slots:
RBACRoleIdForNestedEntities: path.RBACRoleIdForNestedEntities
RBACRoleEntityId: path.RBACRoleEntityId
workspace: path.workspace
method: generated
generated: '2026-11-24'
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.