Generated by API Evangelist
Written by API Evangelist tooling for Twilio's API. It is a proposal applied on top of the contract, not a document Twilio publishes.
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
title: API Evangelist conversational phrasing for Organization Public Role Assignments API
version: 1.0.0
extends: openapi/twilio-role-assignments-api-openapi.yml
actions:
- target: $.info
update:
x-apievangelist-phrasing:
method: generated
generated: '2026-11-15'
generator: build-phrasing.py
label: Generated by API Evangelist
operations: 3
- target: $.paths['/Organizations/{OrganizationSid}/RoleAssignments'].get
update:
x-apievangelist-phrasing:
intent: List role assignments in an organization
effect: read
questions:
- Who has which roles assigned in my organization?
- Can I list role assignments scoped to a single resource?
instructions:
- text: List role assignments in organization {org}.
slots:
org: path.OrganizationSid
- text: Show role assignments for identity {identity} in {org}.
slots:
identity: query.Identity
org: path.OrganizationSid
- text: List role assignments on {resource_type} {resource_id} in {org}.
slots:
resource_type: query.ResourceType
resource_id: query.ResourceId
org: path.OrganizationSid
method: generated
generated: '2026-11-15'
- target: $.paths['/Organizations/{OrganizationSid}/RoleAssignments'].post
update:
x-apievangelist-phrasing:
intent: Assign a role to an identity
effect: write
questions:
- How do I give a user a role in my organization?
- Can I assign a role to a single resource?
instructions:
- text: Assign role {role} to {identity} in organization {org}.
slots:
role: requestBody.role_sid
identity: requestBody.identity
org: path.OrganizationSid
- text: Give {identity} role {role} scoped to {resource_type} {resource_id} in {org}.
slots:
identity: requestBody.identity
role: requestBody.role_sid
resource_type: requestBody.resource_type
resource_id: requestBody.resource_id
org: path.OrganizationSid
method: generated
generated: '2026-11-15'
- target: $.paths['/Organizations/{OrganizationSid}/RoleAssignments/{RoleAssignmentSid}'].delete
update:
x-apievangelist-phrasing:
intent: Revoke a role assignment
effect: destructive
questions:
- How do I take a role away from someone?
- Can I remove a resource-level role assignment?
instructions:
- text: Delete role assignment {assignment} in organization {org}.
slots:
assignment: path.RoleAssignmentSid
org: path.OrganizationSid
- text: Revoke {identity}'s role assignment {assignment} in {org}.
slots:
identity: path.RoleAssignmentSid
assignment: path.RoleAssignmentSid
org: path.OrganizationSid
method: generated
generated: '2026-11-15'
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.