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 User Roles API
version: 1.0.0
extends: openapi/kong-rbacuserroles-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: 2
- target: $.paths['/{workspace}/rbac/users/{RBACUserIdForNestedEntities}/roles'].post
update:
x-apievangelist-phrasing:
intent: Assign a role to an RBAC user
effect: write
questions:
- How do I grant an RBAC user a role in a Kong workspace?
- Can I record where an assigned role came from using a role source?
instructions:
- text: Assign role {role} to RBAC user {RBACUserIdForNestedEntities} in workspace {workspace}.
slots:
role: requestBody.role
RBACUserIdForNestedEntities: path.RBACUserIdForNestedEntities
workspace: path.workspace
- text: Grant {role} to RBAC user {RBACUserIdForNestedEntities} in {workspace}, with role source {role_source}.
slots:
role: requestBody.role
RBACUserIdForNestedEntities: path.RBACUserIdForNestedEntities
workspace: path.workspace
role_source: requestBody.role_source
method: generated
generated: '2026-11-24'
- target: $.paths['/{workspace}/rbac/users/{RBACUserIdForNestedEntities}/roles'].delete
update:
x-apievangelist-phrasing:
intent: Remove a role from an RBAC user
effect: destructive
questions:
- How do I revoke a role from an RBAC user in a Kong workspace?
- Can I specify the role source when removing a user's role?
instructions:
- text: Remove role {role} from RBAC user {RBACUserIdForNestedEntities} in workspace {workspace}.
slots:
role: requestBody.role
RBACUserIdForNestedEntities: path.RBACUserIdForNestedEntities
workspace: path.workspace
- text: Revoke {role} from RBAC user {RBACUserIdForNestedEntities} in {workspace}, matching role source {role_source}.
slots:
role: requestBody.role
RBACUserIdForNestedEntities: path.RBACUserIdForNestedEntities
workspace: path.workspace
role_source: requestBody.role_source
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.